ToolsConductScience tool
Image AnalysisFree in-browser calculator

ASTM E112 Grain Size Analyzer.

Upload a metallographic micrograph and measure grain size using the Heyn intercept method. Client-side processing — images never leave your browser.

PrivateData stays in your browser
LiveNo sign-up required
Validated2026-03-20
CitableMethods and citation included

Calculator

Results update in place

Try it out

Load example grain size data to see the full workflow

Place your micrograph

Drag & drop or click to browse — JPEG, PNG

When to use

  • Measure ASTM grain size number from metallographic micrographs
  • Apply the Heyn intercept method with digital test lines
  • Analyze grain size distribution across multiple fields of view
  • Generate reports conforming to ASTM E112 standard requirements
  • Process both optical and SEM metallographic images

Do not use for

  • Non-metallic grain structures (ceramics, polymers)
  • Heavily deformed or amorphous microstructures
  • Phase analysis or phase fraction measurement (use image thresholding)

Always calibrate the scale bar before measuring

The most common source of error is incorrect pixels-per-micron calibration. If your micrograph has a scale bar, measure it in pixels and enter the known length. An incorrect calibration will systematically shift all grain size numbers — the intercept lengths scale linearly with the calibration factor.

Count at least 50 intercepts per specimen

ASTM E112 requires a minimum of 50 grain boundary intersections for a statistically reliable measurement. With fewer intercepts, the standard deviation of the grain size estimate becomes unacceptably large. Use multiple test lines across at least 3 fields of view to reach this threshold.

Grain boundary contrast must be adequate

Faint or incomplete grain boundaries lead to missed intersections and overestimated grain size (lower G number). If boundaries are hard to see, the specimen likely needs re-etching. Nital for carbon steels, Kalling’s No. 2 for stainless steels, and Keller’s reagent for aluminum alloys are standard choices.

Select representative fields of view

Avoid measuring only in regions that look “typical” by eye. ASTM E112 specifies random or systematic field selection to avoid sampling bias. If the microstructure is heterogeneous (e.g., banded or duplex grain size), report the range and consider ASTM E1181 for characterizing grain size distributions.

ASTM Grain Size Number Reference

G NumberAvg. Diameter (mm)Grains / mm²
-311
-20.752
-10.54
00.368
10.2516
20.1832
30.12564
40.091128
50.062256
60.044512
70.0311,024
80.0222,048
90.0164,096
100.0118,192
110.00816,384
120.00632,768
130.00465,536
140.003131,072
1

Method

Heyn linear intercept method per ASTM E112-13. User draws test lines on the uploaded micrograph; grain boundary intersections are counted to compute mean intercept length, which maps to the ASTM grain size number via the standard conversion formula: G = −6.6457 × log10\log_{10}(ℓ) − 3.298. All image processing uses the browser Canvas API — no server upload.

2

Validated

Last validated 2026-03-20. Calculations are designed for planning and documentation support; verify procurement decisions against manufacturer specifications or institutional SOPs.

3

How to cite

How to Cite

ConductScience ASTM E112 Grain Size Analyzer (v1.0). ConductScience, Inc. 2026. Available at: https://conductscience.com/tools/astm-e112-grain-size-analyzer

ASTM E112-13. Standard Test Methods for Determining Average Grain Size. ASTM International, West Conshohocken, PA. doi:10.1520/E0112-13R21

What is ASTM E112 Grain Size Analysis?

ASTM E112 (“Standard Test Methods for Determining Average Grain Size”) is the definitive standard for measuring grain size in metals and alloys. Grain size directly affects mechanical properties — yield strength, hardness, ductility, and fatigue resistance all depend on it. The Hall–Petch relationship predicts that finer grains produce stronger metals.

Materials scientists, quality control engineers, and metallurgists use grain size measurements for incoming inspection, process control, failure analysis, and compliance with specifications in aerospace (AMS), automotive (IATF 16949), and nuclear (ASME) industries.

How the Intercept Method Works

The Heyn intercept method is the most objective of the three ASTM E112 approaches. A set of straight test lines of known total length is placed on the micrograph. Each grain boundary crossing is counted. The mean intercept length is:

ℓ = L / N

where L is the total test line length (corrected for magnification) and N is the total number of boundary intersections. The ASTM grain size number G is then calculated from:

G = −6.6457 × log10\log_{10}(ℓ) − 3.298

where ℓ is in millimeters. A higher G number means finer grains. Most engineering alloys fall between G = 1 (coarse) and G = 14 (ultrafine).

Frequently asked

325
Free tools
1,200+
Institutions
100%
Client-side
0
Uploads required