Skip to content

Heckel mean yield pressure from relative density against compaction pressure

form_heckel_fit

Fits the Heckel line of ln(1/(1 − D)) on pressure, giving slope K and apparent mean yield pressure 1/K.

Runs
On the server
Level
Its source was not read. Its calculation agreed with a separately written implementation on recorded cases, edges and refusals included, and with the outside program the note names, or the note says none exists. Both implementations were written from the same documents, so a misreading they share would not be caught. Cross-checked here; source not read
Ask your assistant

What it is

Returns the Heckel slope K, intercept, apparent mean yield pressure Py = 1/K, SE(K) and R² of ln(1/(1 − D)) on pressure. Use when compaction data give relative density, or in-die thickness, at several pressures and you choose the linear region. Not for a general straight-line fit: use `relate_linear_regression`; not for tapped-density indices: use `form_powder_compressibility`. Region inclusive; refuses D ≥ 1 inside it; no standard error for Py, an apparent value that depends on how it was measured (in die or out of die). Not for tablet tensile strength.

Field: Formulation and stability.

What it does

You give

  • given (required): relative_density: each point gives its relative density D. in_die_geometry: each point gives the compact thickness in the die, and `geometry` the mass, the true density and the punch size, so D = m/(true density × punch area × thickness); with measurement out_of_die, compute D from the compact's own dimensions and choose relative_density. Required, never inferred.
  • measurement (required): in_die: measured in the die under load; out_of_die: measured on ejected compacts. Required and echoed; it does not change the arithmetic, but a yield pressure is read only with how it was measured.
  • points (required): The compaction record: at least three points and at most 1000, in any order.
  • region (required): The linear region you choose; points outside it are not used. Required: no region is chosen for you.
  • geometry: in_die_geometry only: the compact's mass, the true density and the punch size. Optional.

No request is recorded for this tool.

Limits

  • Research arithmetic for formulation and stability on values you supply, including every coefficient and constant; not a compounding, dosing, clinical, release, expiry-dating or regulatory authority.
  • Formulation arithmetic on values you supply, including every dissociation number, osmotic coefficient, sodium chloride equivalent and freezing-point depression.
  • A calculated osmolarity is not a measured osmolality, and a calculated isotonic amount is not a tonicity test.
  • Research and education software: not for diagnosis or treatment decisions, and not a compounding or release authority.
  • Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.

It will not answer when

  • a point inside the region has a relative density of one or more, given or computed from the geometry, so ln(1/(1 − D)) is undefined; decided exactly on the stated values (on the punch-diameter route against π by a bracket refined until it decides, never a tie).
  • a point inside the region has a relative density, given or computed from the geometry, that is below one when decided exactly on the stated values but is one or more as a double, so ln(1/(1 − D)) cannot be formed in double precision; or one whose double is below 2⁻⁹⁰⁰ (about 10⁻²⁷¹), below which the rounding bound used to show the sign of the slope does not hold.
  • a result of the fit is not finite, or is not zero and below 2⁻¹⁰²², the smallest normal double (about 10⁻³⁰⁸): SE(K), SE(A), the residual standard error, a residual or fitted value, formed by weighted-line on the pressures and transformed densities scaled by exact powers of two and then unscaled; K and A, formed from the exact group weights as in the line equation's numerical form; SE(K) and R² formed from the exact forms; or Py = 1/K.
  • the region's lowest pressure is not below its highest pressure (the region is empty or a single pressure).
Every input, with its units5 inputs
  • given (required): relative_density: each point gives its relative density D. in_die_geometry: each point gives the compact thickness in the die, and `geometry` the mass, the true density and the punch size, so D = m/(true density × punch area × thickness); with measurement out_of_die, compute D from the compact's own dimensions and choose relative_density. Required, never inferred.
  • measurement (required): in_die: measured in the die under load; out_of_die: measured on ejected compacts. Required and echoed; it does not change the arithmetic, but a yield pressure is read only with how it was measured.
  • points (required): The compaction record: at least three points and at most 1000, in any order.
  • region (required): The linear region you choose; points outside it are not used. Required: no region is chosen for you.
  • geometry: in_die_geometry only: the compact's mass, the true density and the punch size. Optional.
Every refusal, with its code6 refusals
CodeWhen
RELATIVE_DENSITY_NOT_BELOW_ONEa point inside the region has a relative density of one or more, given or computed from the geometry, so ln(1/(1 − D)) is undefined; decided exactly on the stated values (on the punch-diameter route against π by a bracket refined until it decides, never a tie).
RELATIVE_DENSITY_NOT_RESOLVEDa point inside the region has a relative density, given or computed from the geometry, that is below one when decided exactly on the stated values but is one or more as a double, so ln(1/(1 − D)) cannot be formed in double precision; or one whose double is below 2⁻⁹⁰⁰ (about 10⁻²⁷¹), below which the rounding bound used to show the sign of the slope does not hold.
FIT_OUTSIDE_DOUBLE_RANGEa result of the fit is not finite, or is not zero and below 2⁻¹⁰²², the smallest normal double (about 10⁻³⁰⁸): SE(K), SE(A), the residual standard error, a residual or fitted value, formed by weighted-line on the pressures and transformed densities scaled by exact powers of two and then unscaled; K and A, formed from the exact group weights as in the line equation's numerical form; SE(K) and R² formed from the exact forms; or Py = 1/K.
REGION_REVERSEDthe region's lowest pressure is not below its highest pressure (the region is empty or a single pressure).
NEGATIVEregion.highestPressure outside at least 0 MPa.
NOT_POSITIVEgeometry.punchArea outside above 0 cm^2.

The calculation

The method's equations, constants and worked example.

Heckel slope, intercept and mean yield pressure from relative density against compaction pressureform-heckel-fit@1.1.1

Equation 1

ln(1/(1 − D)) = K·P + A, the left side formed as −log1p(−D)

SymbolMeaning
Drelative density of the compact
Pcompaction pressure, MPa
KHeckel slope, 1/MPa
AHeckel intercept

Source 1.

Equation 2

K = Sxy/Sxx and A = ȳ − K·P̄ over the points in the region, yᵢ = ln(1/(1 − Dᵢ)): ordinary least squares, weights 1, each formed as a linear form in the transformed densities with exact coefficients from the exact pressures (numerical form)

SymbolMeaning
Pᵢpressure of point i in the region, MPa
yᵢln(1/(1 − Dᵢ))
P̄mean of the Pᵢ, MPa
ȳmean of the yᵢ
SxxΣ(Pᵢ − P̄)², MPa^2
SxyΣ(Pᵢ − P̄)(yᵢ − ȳ), MPa
KHeckel slope, returned as heckelSlope, 1/MPa
AHeckel intercept, returned as intercept

Source 3.

Equation 3

eᵢ = (yᵢ − ȳ) − K·(Pᵢ − P̄)

s=√(Σei2/(n−2))
SE(K)=s/√Sxx

R² = Sxy²/(Sxx·Syy), Syy = Σ(yᵢ − ȳ)², equal to 1 − Σeᵢ²/Syy and non-negative by construction

n ≥ 3 points in the region (weighted-line's TOO_FEW_POINTS below three)

SymbolMeaning
eᵢresidual of point i in the region
yᵢln(1/(1 − Dᵢ))
Pᵢpressure of point i in the region, MPa
ȳmean of the yᵢ
nnumber of points in the region, returned as pointsUsed
sresidual standard error on n − 2 degrees of freedom
SxxΣ(Pᵢ − P̄)², MPa^2
SE(K)standard error of the Heckel slope, returned as slopeStandardError, 1/MPa
R²coefficient of determination about the mean, returned as rSquared (withheld when every yᵢ is the same)
P̄mean of the Pᵢ, MPa
SxyΣ(Pᵢ − P̄)(yᵢ − ȳ), MPa
SyyΣ(yᵢ − ȳ)²
KHeckel slope, 1/MPa
AHeckel intercept

Equation 4

Py=1/K

for K above zero

SymbolMeaning
Pyapparent mean yield pressure, returned as yieldPressure, MPa
KHeckel slope, 1/MPa

Source 1.

Equation 5

D=m/(ρtrue·Apunch·h)

with A_punch = π·d²/4 for a flat round punch

SymbolMeaning
Drelative density of the compact in die
mmass of the compact, g
ρ_truetrue density of the powder, g/cm^3
A_punchpunch face area, cm^2
hcompact thickness at the pressure, cm
dpunch diameter, cm

Source 3.

A definition, not a model: the equation states what the quantity means. A different convention gives a different number.

Worked example

Worked example: one case of form-heckel-fit@1.1.1, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.

Inputs

  • given = relative_density
  • measurement = in_die
  • points[0].pressure = 50 MPa
  • points[0].relativeDensity = 0.5
  • points[1].pressure = 100 MPa
  • points[1].relativeDensity = 0.75
  • points[2].pressure = 150 MPa
  • points[2].relativeDensity = 0.875
  • region.lowestPressure = 50 MPa
  • region.highestPressure = 150 MPa

Steps

  1. y1 = 0.69314718, from points[0].relativeDensity; by equation 1.
  2. y2 = 1.3862944, from points[1].relativeDensity; by equation 1.
  3. y3 = 2.0794415, from points[2].relativeDensity; by equation 1.
  4. meanP = 100 MPa, from points[0].pressure, points[1].pressure, points[2].pressure; by equation 2.
  5. meanY = 1.3862944, from y1, y2, y3; by equation 2.
  6. Sxx = 5000 MPa², from points[0].pressure, points[1].pressure, points[2].pressure, meanP; by equation 2.
  7. Sxy = 69.314718 MPa, from points[0].pressure, points[1].pressure, points[2].pressure, y1, y2, y3, meanP, meanY; by equation 2.
  8. K = 0.013862944 1/MPa, from Sxy, Sxx; by equation 2; gives heckelSlope.
  9. A = 0, from meanY, K, meanP; by equation 2; gives intercept.
  10. Py = 72.134752 MPa, from K; by equation 4; gives yieldPressure.

The working, as the case writes it:

K = Sxy/Sxx = (100 ln2)/5000 = ln2/50 = 0.0138629436 1/MPa

A = 2 ln2 - 100 K = 0

Py = 1/K = 50/ln2 = 72.1347520 MPa (worked by hand by Drybench on 11 November 2026

not an independent check)

residuals 0, so R² = 1 and SE(K) = 0 (worked by hand by the raising builder, 14 November 2026)

Answer

heckelSlope = 0.013862944 1/MPa

intercept = 0

yieldPressure = 72.134752 MPa

Where these values came from: our own exact-arithmetic script and a hand-worked case; the second implementation's run(arguments).

At build the tool returned this answer within the tolerance the file states: Slope, intercept, yield pressure, SE(K) and R² relative 1e-10, the print threshold (the tool prints a fitted number only where its certified rounding bound is at most one part in 10¹⁰ of its value, and withholds it as FIELD_NOT_RESOLVED_TO_PRECISION otherwise; the CSO's memo on the print threshold, 11 November 2026), so no printed field is compared wider; exact zeros (the hand case's intercept, the constant-transform slope and SE(K), the exact-zero-slope cases' slope and R²) exact; counts, notes, withheld rules, statuses, codes and units exact.

Sources

  1. Rojas J, Hernandez S, Effect of the compaction platform on the densification parameters of tableting excipients with different deformation mechanisms, Chemical and Pharmaceutical Bulletin 62(3):281–287 (2014)

    Used for: Heckel slope, intercept and mean yield pressure from relative density against compaction pressure. At: equation (2) −ln(ε) = kP + A and (8) ε = 1 − ρapp/ρtrue (images E02.png SHA-256 c70cdb9f…, E08.png SHA-256 e7c67ef2…): with D = ρapp/ρtrue, ln(1/(1 − D)) = K·P + A, the reading of Hooper 2016's unbracketed (1) ln(1/1-D)=K•P+A that this settles, section Introduction (Equation 2); Experimental, Compact Porosity (Equation 8); equation (2), and the sentence after it: the inverse of the slope represents the mean yield pressure, so Py = 1/K, section Introduction.

    Read in full, 24 November 2026
  2. Hooper D, Clarke FC, Mitchell JC, Snowden MJ, A modern approach to the Heckel equation: the effect of compaction pressure on the yield pressure of ibuprofen and its sodium salt, J Nanomed Nanotechnol 7(3):381 (2016)

    Used for: Heckel slope, intercept and mean yield pressure from relative density against compaction pressure. At: p. 4 of 6, section Linear regression fitting (the linear region chosen by the analyst); p. 3 of 6, section Results, In Die Heckel calculation: D from the true density and the compact thickness, in words; the formula derived here.

    Read in full, 11 November 2026

Cited, not read

  1. Heckel RW, Density-pressure relationships in powder compaction, Transactions of the Metallurgical Society of AIME 221:671–675 (1961)

    Used for: Heckel slope, intercept and mean yield pressure from relative density against compaction pressure. At: p. 671–675.

    sold by OneMine; no open copy found on 11 November 2026 or on 24 November 2026 (the companion paper, 221:1001, is unread too)

    Not read; source 2 read in its place

How it is checked

Level

Cross-checked here; source not read.

Checked against

Our own exact-arithmetic script and a hand-worked case; an outside program, SciPy scipy.stats.linregress with NumPy log1p, scipy 1.18.1, numpy 2.5.4.

Cases

No case set is linked to this version.

Not checked

Heckel 1961 (unread; the brief requires it before verified; the equation rests on Rojas and Hernandez 2014, with Vreeman and Sun 2021 agreeing); any relation of K to a yield strength; a published dataset with tabulated pressures and densities (none found); a program that fits the Heckel equation itself (none found; SciPy checks the transform and the line); the choice of the linear region (the caller's); true-density sensitivity (call twice); a standard error or interval for Py; punch shapes other than flat faces; correction of in-die thickness for punch and machine deformation.

Changes to its methods0 changes

No change is logged for these method versions.