XRF Analysis: How Laboratories Determine the Elemental…
Allanalysis
...Precision + Speed
Request Call Back
← Back to Articles

Analytical

XRF Analysis: How Laboratories Determine the Elemental Composition of Materials

XRF analysis helps laboratories determine what elements are present in a material and, under suitable conditions, how much of those elements are present. It is widely used for metals, minerals, soil, cement, ceramics, and research materials. Proper sample preparation is important, and XRF may be combined with techniques such as XRD or FTIR when researchers need a more complete understanding of a material.

By Allschoolabs · October 2, 2026 · 3 views

Add Article Run Test Sell Product
XRF Analysis: How Laboratories Determine the Elemental Composition of Materials

If you have a material and want to know what elements are actually inside it, you need more than just looking at it.

A rock may look like an ordinary piece of stone. A metal sample may look perfectly uniform. A powder may appear to be made from a single substance. But appearances can be misleading. To find out what a material is made of at the elemental level, laboratories can use a technique called X-ray fluorescence analysis, or XRF.

XRF analysis is widely used to determine the elemental composition of materials. It can help researchers, manufacturers, engineers, geologists, and quality-control laboratories find out which elements are present and, in many cases, estimate their concentrations.

From metals and minerals to cement, soil, ceramics, glass, and industrial materials, XRF can provide a quick way to answer a very practical question:

“What elements are in this sample, and how much of each is there?”

What Is XRF Analysis?

XRF stands for X-ray fluorescence.

It is an analytical technique that uses X-rays to investigate the elemental composition of a material.

The basic idea is actually quite interesting. When a sample is exposed to X-rays, the atoms in the material can become excited and release their own characteristic X-rays. Different elements produce different X-ray energies.

The instrument detects these signals and uses them to determine which elements are present.

The strength of the detected signal can also provide information about the amount of an element in the sample.

So, rather than identifying a material simply by its appearance, XRF gives researchers chemical information about its elemental makeup.

How Does XRF Actually Work?

The process can sound complicated at first, but the basic principle is fairly straightforward.

A laboratory places the prepared sample into an XRF instrument. The instrument exposes the sample to primary X-rays, which interact with the atoms within the material.

When the atoms respond to this energy, they emit secondary X-rays.

These emitted X-rays have characteristic energies associated with particular elements.

The instrument measures those energies and produces a spectrum that can be interpreted to determine the elements present.

For example, a sample might show signals corresponding to elements such as:

  • Iron
  • Calcium
  • Silicon
  • Aluminium
  • Magnesium
  • Sodium
  • Potassium
  • Titanium
  • Zinc
  • Copper

The exact elements detected depend on the sample and the capabilities of the XRF instrument.

What Does an XRF Result Tell You?

An XRF analysis can provide information about the elemental composition of a material.

Depending on the sample and analytical method, a report may identify elements present and provide their concentrations.

For example, if you are analysing a mineral sample, you may want to know how much iron, calcium, silicon, aluminium, or other elements it contains.

For a metal or alloy, you may be interested in elements such as iron, chromium, nickel, manganese, copper, or zinc.

The important thing to remember is that XRF tells you about elements, not necessarily the exact chemical compounds in which those elements occur.

That distinction matters.

For example, XRF may tell you that calcium and carbon are present, but it does not by itself tell you whether the calcium is present as a particular carbonate compound.

This is one reason XRF is sometimes combined with another technique such as XRD or FTIR.

XRF vs XRD: What's the Difference?

These two techniques are easy to confuse because both use X-rays, but they answer different questions.

XRF asks:
Which elements are present in the material?

XRD asks:
Which crystalline phases or structures are present?

For example, XRF might show that a rock contains calcium, silicon, iron, and aluminium.

XRD can then help determine which minerals or crystalline phases are responsible for those elements.

Using both techniques can therefore give researchers a much more complete understanding of a material.

If you're interested in combining elemental and structural analysis, you can explore AnalysisAfrica's analytical testing services to see the types of laboratory analysis available.

What Materials Can Be Tested Using XRF?

One of the reasons XRF is so widely used is its versatility.

Depending on the instrument and sample preparation method, XRF can be applied to materials such as:

  • Metals and alloys
  • Rocks and minerals
  • Soil
  • Cement
  • Concrete materials
  • Ceramics
  • Glass
  • Powders
  • Ores
  • Industrial materials
  • Environmental samples
  • Geological materials
  • Some manufactured products

The most suitable preparation method depends on what the sample is and what information the laboratory needs to obtain.

XRF Analysis of Metals and Alloys

XRF is particularly useful for examining metals and alloys.

Imagine a manufacturer receives a batch of metal and needs to confirm that its composition matches the expected specification. Looking at the metal is not enough. The laboratory needs a way to check its elemental composition.

XRF can help determine whether the expected elements are present and whether their concentrations are consistent with the required composition.

It can therefore support:

  • Material identification
  • Quality control
  • Alloy verification
  • Incoming material inspection
  • Manufacturing research
  • Failure investigations

This can be especially useful when different alloys look almost identical but have significantly different elemental compositions.

XRF Testing for Minerals and Rocks

Geological materials can contain a mixture of different elements, and understanding their composition can be important in exploration, research, and mineral characterisation.

XRF can be used to measure major and, depending on the instrument and method, some minor or trace elements in suitable geological samples.

Researchers may use the results to compare samples, study geological materials, or support mineral exploration and other investigations.

For more detailed information about the actual crystalline minerals present, XRD may be used alongside XRF.

XRF Testing for Soil

Soil is much more than dirt.

It can contain minerals, organic matter, metals, and other chemical components that vary depending on where the soil came from and what it has been exposed to.

XRF can help determine the elemental composition of soil samples and can be useful in environmental and agricultural research.

For example, researchers may investigate elements such as iron, calcium, potassium, zinc, lead, or other elements depending on the purpose of the study.

However, when investigating potentially harmful contaminants, the appropriate analytical method and detection limits are important. Not every XRF setup is suitable for every trace-level application.

XRF Analysis for Cement and Construction Materials

The composition of construction materials matters because changes in elemental composition can affect material properties and performance.

XRF is widely useful for analysing materials such as cement and raw materials used in cement production.

It can help determine the concentrations of important elements and support quality-control and research activities.

When XRF is combined with XRD, researchers can obtain both elemental and crystalline-phase information, giving them a clearer picture of the material.

Why Sample Preparation Matters in XRF

It is easy to assume that you can simply place any sample into an XRF instrument and get a perfect answer.

In reality, sample preparation can have a major influence on the quality of the result.

Depending on the material, preparation may involve:

  • Drying
  • Crushing
  • Grinding
  • Sieving
  • Homogenising
  • Pressing into a pellet
  • Preparing a fused bead
  • Cleaning the sample surface

The objective is to produce a sample that is representative and suitable for the analytical method.

For example, if a powdered sample is not properly homogenised, the portion analysed may not accurately represent the entire sample.

This is particularly important when quantitative results are required.

What Can Affect XRF Results?

Several factors can influence the accuracy of XRF analysis.

These include:

  • Sample preparation
  • Sample homogeneity
  • Surface condition
  • Particle size
  • Moisture
  • Matrix effects
  • Instrument calibration
  • Measurement conditions
  • Element concentration
  • The type of material being analysed

This is why professional XRF analysis involves more than simply pressing a button on an instrument.

The laboratory needs to select suitable analytical conditions and interpret the results appropriately.

Can XRF Detect Every Element?

No.

XRF is excellent for many elements, but it has limitations.

Very light elements can be difficult or impossible to measure reliably depending on the type of XRF instrument and analytical setup.

The concentration of an element also matters. An element may be present in a sample but below the detection capability of the particular method.

If your project involves trace-level measurements, it is important to discuss the expected concentration with the laboratory before testing.

The laboratory can then determine whether XRF is suitable or whether another analytical technique would provide more appropriate sensitivity.

XRF vs Other Analytical Techniques

XRF is only one option when analysing a material.

Different techniques provide different types of information.

XRF: Primarily determines elemental composition.

XRD: Identifies crystalline phases and provides information about crystal structure.

FTIR: Helps identify chemical bonds and functional groups.

SEM-EDS: Provides information about surface morphology together with elemental composition at selected areas.

ICP techniques: Can provide highly sensitive elemental analysis for appropriately prepared samples.

Choosing between these techniques depends on the question you are trying to answer.

If you simply need to know which elements are present, XRF may be appropriate. If you need to know what crystalline compounds those elements form, you may need XRD as well.

When Should You Request XRF Analysis?

XRF may be useful when you need to:

  • Identify the elemental composition of an unknown material
  • Verify the composition of metals or alloys
  • Analyse minerals and rocks
  • Investigate soil composition
  • Test cement and construction materials
  • Compare different material samples
  • Support manufacturing quality control
  • Characterise materials for research
  • Investigate possible elemental contamination

The best approach is to tell the laboratory what you are trying to find out, rather than simply asking for a particular test.

That gives the laboratory enough context to determine whether XRF is suitable and what type of analysis should be performed.

How to Prepare Your Sample for XRF Testing

The preparation requirements depend on the material.

Before submitting a sample, it is useful to provide:

  • The type of material
  • Sample identification
  • Physical form
  • Expected composition, if known
  • Where the sample came from
  • The purpose of the analysis
  • Any elements you are particularly interested in
  • Relevant safety information

If you're unsure whether the sample needs to be dried, ground, powdered, or prepared in another way, don't guess. Ask the laboratory first.

Good sample preparation can make a significant difference to the usefulness of the final result.

Conclusion

XRF analysis gives laboratories a practical way to look beyond the appearance of a material and determine its elemental composition. By measuring characteristic X-rays produced when a sample is exposed to X-rays, the technique can identify many of the elements present and, with appropriate methods, estimate their concentrations.

Its applications range from metals and alloys to minerals, soil, cement, ceramics, environmental samples, and research materials.

The key thing to remember is that XRF tells you about elemental composition, not necessarily the exact compounds or crystal structures present. When a project requires a deeper understanding of a material, XRF can be combined with techniques such as XRD, FTIR, or SEM-EDS.

If you have an unknown material or a research sample and you're not sure which analytical method makes sense, explore AnalysisAfrica's analytical testing services or speak with a laboratory about what you need to determine.

For more practical guides on laboratory analysis and material characterisation, you can also read more articles on the AnalysisAfrica blog.

Subcategory: Research Methods

Comments & Questions (0)

Related Articles

Malaria Testing in Nigeria: When to Test and Which Laboratory Tests Are Used
Malaria Testing in Nigeria: When to Test and Which Laboratory Tests Are Used

Malaria testing in Nigeria is mainly performed using a rapid diagnosti…

What Can Cause Abnormal Blood Test Results and What Should You Do Next?
What Can Cause Abnormal Blood Test Results and What Should You Do Next?

An abnormal blood test result does not automatically mean you have a s…

HPLC Column Selection: How to Choose the Right Column for Your Analysis
HPLC Column Selection: How to Choose the Right Column for Your Analysis

HPLC column selection depends on the chemical properties of your analy…

Blood Tests for Unexplained Tiredness, Weakness and Persistent Lack of Energy
Blood Tests for Unexplained Tiredness, Weakness and Persistent Lack of Energy

Persistent tiredness can have many possible causes, and blood tests ca…

Free Research

Research Journals

Access 25,000,000 scientific papers, medical journals and analytical research.

Open Journal

Need a lab test?

Browse verified tests and book directly from Allanalysis.

Browse Tests
Need help?Chat with us or
or contact us
Chat now