SEM Phase Volume Fraction Calculator
Estimate volume fraction from 2D SEM images using area fraction statistics (Delesse principle).
| Image | Phase Pixels | Total Pixels | Area % (if using percent mode) |
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 | |||
| 4 | |||
| 5 | |||
| 6 |
How to calculate volume fraction of a phase by SEM images
Calculating phase volume fraction from scanning electron microscopy images is one of the most practical workflows in materials characterization. In production metallurgy, ceramics, polymers, energy materials, and geoscience, teams use SEM-based quantification to answer the same core question: what proportion of the microstructure is occupied by the phase of interest? While SEM provides a two-dimensional section, you can still estimate three-dimensional volume fraction accurately under well-defined assumptions. The key is combining proper sampling, robust segmentation, and sound statistics. When done correctly, this method is fast, reproducible, and directly useful for quality control, failure analysis, and process optimization.
The principle behind the calculation: area fraction equals volume fraction
The foundation is the Delesse principle from stereology: for a randomly sectioned microstructure, the area fraction of a phase measured on 2D sections is an unbiased estimator of its 3D volume fraction. In practice, this means if your phase occupies 18.6 percent of image area on average, you report approximately 18.6 percent volume fraction for that phase. This assumption works best when sampling is random and the material is isotropic or treated with an orientation strategy that removes bias. If sections are not random, or if the microstructure has strong texture and elongated features, additional stereological controls are necessary.
What you need before running calculations
- A representative set of SEM images from multiple random fields, not just visually striking areas.
- Consistent accelerating voltage, detector mode, working distance, and contrast settings.
- A segmentation strategy that consistently separates target phase from matrix and artifacts.
- Image quality checks for charging, drift blur, edge effects, and contamination features.
- Enough fields of view to reduce sampling error to an acceptable confidence interval.
Practical SEM workflow for phase fraction quantification
1) Select imaging mode and prepare polished sections
Most phase fraction studies use backscattered electron contrast because atomic number differences are often clearer than secondary electron topography. Start with careful polishing and, if needed, etching strategy that highlights phase boundaries without introducing false contrast. Keep imaging conditions fixed across all fields, because thresholding and machine classification become unstable when brightness and contrast drift between images.
2) Define unbiased field selection rules
A common source of error is biased field picking. If an operator naturally chooses phase-rich or phase-poor zones, the estimate shifts. Use a predefined rule: for example, map the sample into a grid and sample every nth node, or use random coordinates generated before imaging. Exclude image edges with clipped particles and zones with obvious preparation defects, but document every exclusion. Transparent exclusion criteria improve reproducibility and auditability.
3) Segment phase area using a repeatable method
Segmentation can be threshold-based, supervised machine learning, or point counting overlays. Thresholding is quick and effective when histogram separation is strong. Machine learning can handle complex contrast and morphology but requires careful validation. Point counting is slower but robust and aligns with classical stereology. Whatever method you use, lock the workflow before processing the full dataset. Changing rules midway introduces hidden systematic error that is hard to quantify later.
4) Convert image measurements to area fraction
For each image, area fraction can be obtained either by pixel ratio or by direct area percentage exported from software:
- Pixel-ratio method: area fraction = phase pixels / total pixels.
- Percent method: area fraction = measured area percent / 100.
- Express each image as percentage for readability.
- Compute image-wise mean, standard deviation, and confidence interval.
- Report final value as volume fraction estimate with confidence bounds.
The calculator above automates these steps and adds a confidence interval around the mean, which is critical for scientific reporting and process decisions.
Worked statistics: why sample size matters
Sampling precision improves with more observations. A useful approximation for point or pixel statistics follows binomial behavior. If the true phase fraction is near 0.30, the 95 percent confidence half-width can be estimated by 1.96 times the standard error. The table below shows how uncertainty shrinks as total counted points or equivalent pixels increase. These are real statistical calculations from the binomial model and provide a planning baseline for SEM campaigns.
| Total counted points/pixels (N) | Assumed phase fraction (p) | 95% CI half-width (absolute fraction) | 95% CI half-width (percentage points) |
|---|---|---|---|
| 100 | 0.30 | 0.0898 | 8.98% |
| 250 | 0.30 | 0.0568 | 5.68% |
| 500 | 0.30 | 0.0401 | 4.01% |
| 1000 | 0.30 | 0.0284 | 2.84% |
| 2000 | 0.30 | 0.0201 | 2.01% |
In other words, if your tolerance is tight, one or two images are rarely enough. Even with strong segmentation, microstructural heterogeneity contributes variance between fields. That is why many laboratories use at least 10 to 30 fields depending on grain size, phase clustering, and required decision confidence.
Example multi-image dataset and calculation output
The next table shows an example dataset similar to what teams collect in production support. Each image has one million analyzed pixels. The phase pixel count is converted to area percent. The mean of these image percentages is your volume fraction estimate under random section assumptions.
| Image | Phase pixels | Total pixels | Area fraction (%) |
|---|---|---|---|
| 1 | 182,340 | 1,000,000 | 18.23 |
| 2 | 191,120 | 1,000,000 | 19.11 |
| 3 | 176,540 | 1,000,000 | 17.65 |
| 4 | 188,930 | 1,000,000 | 18.89 |
| 5 | 194,210 | 1,000,000 | 19.42 |
| 6 | 183,500 | 1,000,000 | 18.35 |
For this dataset, the average is about 18.61 percent. With a moderate image-to-image spread, the confidence interval remains narrow enough for many engineering decisions. If your process acceptance window is, for example, 17 to 20 percent, this result is comfortably inside range. If your specification is tighter, collect more fields or improve segmentation consistency to reduce uncertainty.
Common error sources and how to control them
- Non-random sampling: causes directional bias and overconfidence in misleading means.
- Threshold drift: changing contrast or thresholds during analysis shifts phase counts.
- Magnification mismatch: different field sizes can overrepresent coarse or fine features.
- Edge truncation: cropped particles near frame boundaries can bias small-phase systems.
- Charging and noise: false bright or dark areas can be mislabeled as phase.
- Insufficient replicate fields: underestimates real heterogeneity of the specimen.
Best-practice reporting template
For technical reports, include the following items in a reproducible format:
- Instrument and detector settings (kV, probe current, WD, detector type).
- Sample preparation method and section orientation relative to process direction.
- Field selection protocol and number of analyzed images.
- Segmentation method, software version, and threshold/classifier parameters.
- Mean area fraction, standard deviation, confidence level, and final volume fraction statement.
- Any exclusions or corrections, with rationale.
A clear statement might read: “The gamma-prime phase volume fraction estimated by SEM area analysis is 18.6 ± 0.7 percentage points (95 percent CI, n = 6 random fields).” This format allows reviewers and customers to understand both central value and uncertainty, which is essential for process capability studies and failure investigations.
Authoritative resources
- NIH ImageJ for image processing and particle/area measurement workflows.
- NIST Materials Resources for measurement science and materials characterization context.
- Carleton University SEM educational resource for SEM fundamentals and interpretation background.
The key takeaway is simple: volume fraction from SEM is not just a software output, it is a measurement process. If you combine representative imaging, stable segmentation, and transparent statistics, you can produce high-confidence phase fraction values suitable for research publication and industrial decision-making.