Hall-Petch Grain Size Calculator

Smaller grains, stronger metal, up to a limit.

  • Yield from grain size
  • Fit sigma0 and k
  • Unit and limit checks
A small rounded clay table holding two soft clay blocks of packed rounded pebbles, one fine and one coarse, with a few loose rounded beads.

The guide

Halve the grain size and a metal gets stronger by a square root, until the grains are too small

Yield stress rises as one over the square root of the grain diameter, an empirical fit with a stated limit near 10 nm, and a wrong unit hides the biggest errors.

  • 235.47 MPa mild steel with a 20 um grain, by the Hall-Petch relation
  • 10.352 micrometres grain diameter mild steel needs for a 300 MPa yield stress
  • 0.7392 k fitted from five illustrative pairs, in MPa m^(1/2)
  • 70.17 MPa the same case with 20 left unconverted from micrometres
  • 7470 MPa mild steel at 10 nm, a warning case and not a prediction
Read the full guide Fold the guide 6 min · 16 sources

A mild steel with grains 20 micrometres across has a yield stress of 235.47 MPa by the Hall-Petch relation. Shrink the grains to 1 micrometre and the same steel reaches 810.00 MPa. Nothing about the chemistry changed, only the size of the crystals that the metal is made of, and that is why heat treatment and the rate of solidification are such useful levers.

The relation is simple enough to run on a calculator, which is exactly why it is so easy to run wrongly. This page is about what the formula says, what it does not say, and how a single misplaced unit turns 235 MPa into 37,070.

How grain boundaries hold up dislocations

Metals are made of crystallites, also called grains, small crystals that form as the material cools. Plastic deformation happens when dislocations move. A dislocation is a linear defect in the crystal where the arrangement of atoms changes abruptly, and its movement lets atoms slide over each other at low stress.

A grain boundary is a barrier to that movement. The lattice of the next grain points in a different direction, so a dislocation arriving at the boundary cannot simply carry on along the same slip plane. The boundary is also much more disordered than the grain interior. Under load, dislocations pile up against it, and each one pushes back on the next.

Small grains hold fewer dislocations in a pile. A smaller pile exerts a smaller push on the boundary, so a larger applied stress is needed before the neighbouring grain yields. That is the picture behind the rise in yield stress as grains shrink. The yield stress is the stress at which a material stops springing back and starts to deform permanently.

Grain size is something engineers can change. Heat treatment after plastic deformation and the rate of solidification both alter it. Annealing runs through recovery, recrystallization and grain growth, and grain growth, the increase in grain size at high temperature, works against the strengthening. Metallographers measure the result under a microscope on prepared, etched specimens.

Why the square root and not one over d

The Hall-Petch equation is sigma_y = sigma0 + k / sqrt(d). The yield stress sigma_y equals sigma0, the starting stress for dislocation movement or the lattice’s own resistance, plus a boundary term. In that term k is the strengthening coefficient of the material and d is the average grain diameter. A diameter, not a radius.

The source states a caution that is easy to skip. The relation is an empirical fit to experimental data, and the pile-up picture behind it has not been verified by observation in the microstructure. The general form is a change in stress proportional to k over d to the power x, with both k and x specific to the material. The power one half is the form of the fit, not a result derived from the pile-up story.

The practical gain is a straight line. Plot stress against one over the square root of d and the points fall on a line whose slope is k and whose intercept is sigma0. The source tabulates constants for four metals, in MPa for sigma0 and MPa m^(1/2) for k: copper 25 and 0.12, titanium 80 and 0.40, mild steel 70 and 0.74, and Ni3Al 300 and 1.70.

With d in metres the numbers follow. Copper at 10 micrometres gives 62.95 MPa. Titanium at 5 micrometres gives 258.89 MPa. Ni3Al at 1 micrometre gives 2000.00 MPa. Mild steel gives 144.00 MPa at 100 micrometres, 235.47 at 20 and 810.00 at 1. The boundary term k / sqrt(d) is 165.47 MPa of the 235.47 for the 20 micrometre steel, about 70 percent.

That share moves with the size. For the same steel at 100 micrometres the boundary term is 74.00 MPa of 144.00, about half, so the lattice resistance and the grain boundaries contribute about equally. At 1 micrometre the boundary term is 740.00 MPa of 810.00, more than 90 percent. What refinement buys depends on k: copper, with k of only 0.12, gains far less from the same shrinkage than titanium or Ni3Al does.

The relation also runs backwards. Solve for d and you get (k / (sigma_target - sigma0)) squared. Mild steel needs a grain of 10.352 micrometres for 300 MPa, and putting that size back into the relation returns 300 exactly. The inverse has a rule: a target at or below sigma0 is impossible, because refining grains only adds the boundary term. Copper needs 0.922 micrometres for 150 MPa, below the 1 micrometre the source gives as the small end of typical sizes, so a warning is due.

Fitting the constants from your own data

Suppose you have measured yield stresses at five grain sizes: 144, 175, 218, 279 and 366 MPa at 100, 50, 25, 12.5 and 6.25 micrometres. These pairs are illustrative, whole-MPa roundings of mild steel values, and not measurements. An ordinary least-squares line of stress against one over the square root of d is the fit. Least squares chooses the line that minimises the sum of the squared vertical gaps.

The slope comes out at k = 0.7392 MPa m^(1/2) with a standard error of 0.0010, and the intercept at sigma0 = 70.192 MPa with a standard error of 0.251. R squared is 0.999994. The fit recovers the table’s 0.74 and 70 to within the rounding of the inputs. The same line came out of three routes: numpy.polyfit, scipy.stats.linregress, and the normal equations written out by hand.

A high R squared says the points lie close to a line in one over the square root of d. It says nothing about sizes you did not measure. With only two pairs the line runs through both points exactly, so there are no degrees of freedom, no standard errors and an R squared of 1 by construction. Three or more pairs are needed before the spread means anything.

Where the relation stops

The source puts typical grain sizes between about 100 micrometres, the large end, and 1 micrometre, the small end, and says the relation works well from 1 millimetre down to 1 micrometre. Below that, the size of dislocations begins to approach the size of the grains. At about 10 nm only one or two dislocations fit in a grain.

At that point pile-up is impossible and grain boundary sliding takes over, so strength falls instead of rising. Experiments show the highest yield strength near a grain size of 10 nm. Nanocrystalline material is commonly defined as grains below 100 nm, and grains from 100 to 500 nm are called ultrafine. Below the critical size is the inverse Hall-Petch regime, where finer grains weaken the metal because there is more boundary to slide.

The formula does not know any of this. Mild steel at 10 nm gives 7470 MPa. That number is a warning case, not a prediction; it shows how far the formula runs away from the measured trend once its stated limit is passed. The tool flags every size below 1 micrometre and every size at or below 10 nm.

The relation also leaves out a good deal. It covers neither precipitation nor solid-solution strengthening, neither texture nor the Taylor factor, neither hardness conversion nor creep or fatigue. Work hardening, the rise in strength with plastic deformation, is a separate effect. The yield stress is also not the ultimate tensile strength, the highest point of the stress-strain curve.

Units hide the biggest errors

Because k carries MPa m^(1/2), the diameter must be in metres. Type 20 for 20 micrometres without converting, and the boundary term collapses to 0.17 MPa: the stress comes out at 70.17 MPa, barely above sigma0. Use the radius where the diameter belongs and the answer is 304.01 MPa, because halving d raises the boundary term by the square root of 2.

Read k in the wrong units and the error grows. The same constant is 0.74 MPa m^(1/2), 23.40 MPa mm^(1/2) and 740 MPa um^(1/2). Pair the 23.40 with d in metres and mild steel at 20 micrometres comes out at 5302.59 MPa. Drop the square root altogether and it reads 37,070 MPa. Each wrong value is plausible-looking in isolation, which is the danger.

Keeping the unit next to every number is the cheapest defence. This page is educational and not engineering advice. The relation is an empirical fit, the constants are textbook figures for the metals named, and no real part should be sized from it.

Sources

Every source consulted for this guide. Links checked November 22, 2026.

  1. Grain boundary strengthening Wikipedia
  2. Yield (engineering) Wikipedia
  3. Dislocation Wikipedia
  4. Crystallite Wikipedia
  5. Annealing (materials science) Wikipedia
  6. Strength of materials Wikipedia
  7. Work hardening Wikipedia
  8. Ultimate tensile strength Wikipedia
  9. Nanocrystalline material Wikipedia
  10. Grain growth Wikipedia
  11. Grain boundary Wikipedia
  12. Metallography Wikipedia
  13. Stress-strain curve Wikipedia
  14. Least squares Wikipedia
  15. numpy.polyfit NumPy documentation
  16. scipy.stats.linregress SciPy documentation