Heckel slope, intercept and mean yield pressure from relative density against compaction pressure, version 1.1.1
form-heckel-fit@1.1.1: this version's equations with their symbols, each constant's value, their sources and whether each was read, a worked example where the record holds one, its level and what it was checked against, the number of cases, and what was not checked. This version's record is not rewritten; a correction is added under Changes.
What this page can and cannot show
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.
Level: Cross-checked here; source not read; after Heckel 1961, not read; rests on a secondary source: Rojas and Hernandez 2014, Eqs 2 and 8, read 24 Nov 2026. Reference kind: 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.
Sources not read, why, and what was read in each one's place:
- Source: Heckel RW, Density-pressure relationships in powder compaction, Transactions of the Metallurgical Society of AIME 221:671–675 (1961), p. 671–675; not read: sold by OneMine; no open copy found on 11 November 2026 or on 24 November 2026 (the companion paper, 221:1001, is unread too). Read in its place: 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), 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), version of record, the journal's full-text HTML on J-STAGE as served on the read date (page bytes SHA-256 below; the equations are images, hashed in the locator); read in full on 2026-11-24 by an AI-assisted session; not yet checked by a person.
Not fully recorded, and not independently reviewed. Items marked "Not recorded" are missing from this project's records for the version named. Apart from any worked example shown, the cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed these methods or checks.
Every version of this method · Every method · What the levels mean
Version 1.1.1
Level: Cross-checked here; source not read; after Heckel 1961, not read; rests on a secondary source: Rojas and Hernandez 2014, Eqs 2 and 8, read 24 Nov 2026. Reference kind: 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. form-heckel-fit@1.1.1
Built, not hosted. Generated from a snapshot of the library's records taken on 2026-11-25, as committed on 2026-11-25. A later snapshot replaces this one, so these records and this page can change.
Ordinary least squares of ln(1/(1 − D)) on compaction pressure P over the caller's region, inclusive at both ends, through the shared weighted-line routine with weights all 1: the Heckel slope K, intercept A, SE(K), R² and the number of points used, and the apparent mean yield pressure Py = 1/K where K is above zero. D is the relative density, given or computed in die from the mass, true density, punch size and compact thickness; the geometry route serves in-die measurement only, and out of die D is computed by the caller from the compact's measured dimensions. When every relative density in the region is the same on its exact stated decimals, K and SE(K) are structural zeros and R² is undefined. A point inside the region with D of one or more is refused, decided exactly on the stated values: D itself, or on the punch-area route m against ρ_true·A_punch·h as rationals, or on the punch-diameter route 4m/(ρ_true·d²·h) against π by a bracket refined until it excludes the rational (π is irrational, so D is never exactly 1 there); a D below one as stated that is one in double precision is refused as not resolved, as is a double D below 2⁻⁹⁰⁰; in die the double D is formed from the same exact rationals, rounded once (punch area) or three times (punch diameter). Py is given only where K is shown above zero: K is exactly zero when points of one exact relative density cancel about the mean pressure (Sxy = Σ(Pᵢ − P̄)·yᵢ with equal yᵢ grouped), and is otherwise signed only beyond a stated rounding bound on Sxy in doubles (the line equation's numerical form); inside that bound, where every 1 − D is rational, an exact zero among differing densities is tested exactly (Π(1 − D_g)^(N_g) = 1 on a coprime base, N_g the integer group weights), and on the punch-diameter route no such zero exists (π is transcendental); a slope inside the bound that is not an exact zero is withheld as unresolved (SLOPE_SIGN_UNRESOLVED), with R², which rests on the same unresolved differences. No tolerance is applied to that decision. K and A are formed as linear forms in the transformed densities with exact coefficients (K from the same sum that decides its sign, so it always has the decided sign), SE(K) and R² from residuals and sums on those forms, and Py as 1/K, and each fitted number is printed only where its certified rounding bound is at most one part in 10¹⁰ of its value; otherwise it is withheld as FIELD_NOT_RESOLVED_TO_PRECISION, and a non-zero value whose certified interval includes zero is withheld too; an exact zero with a zero bound is given. SE(K) is withheld in a near-perfect fit, and can be in an ordinary fit whose relative densities lie close to one. Every bound rests on log1p being within 2 ulp, which the JavaScript standard does not require. Py is given only where K is printed and shown above zero. The double fit through weighted-line is still formed: its refusals (too few points, no spread, a result outside the double range) stand. Points outside the region are not used. No standard error is given for Py, which is non-linear in K. A descriptive fit to the caller's data, not a model of nature: Py depends on the region, the pressure and speed, in-die or out-of-die measurement and the true density. The line is weighted-line with every weight 1, so its WEIGHTS_TOO_SPREAD refusal is not reached through this tool.
- How results are reported: none: full double precision
- Uncertainty: SE(K), R² and the number of points come from the least-squares fit; no standard error or interval is given for Py, which is non-linear in K, in this version.
- Every reply through it says: A yield pressure from this fit depends on the region, the compaction pressure and speed, in-die or out-of-die measurement and the true density; compare values only within one method.
- Computes through this project's own routines: ordinary least squares of ln(1/(1 − D)) on pressure, through weighted-line with weights 1: its refusals (too few points, no spread, a result outside the double range); the printed fields come from the exact forms (the line and fit-statistics numerical forms)
- Reference, as its record states it: Exact arithmetic: Python fractions and 60-digit decimal ln, sqrt and pi on the recorded equations, written before the engine; the line through weighted-line, checked against NIST StRD
- Computes through:
weighted-line@2.0.0 - Level confirmed by this project's ruling of 24 November 2026
What this page can and cannot show
What was checked
102 cases in 2 files, linked by this exact version.
Run through the tool at build 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: 84 agree within the tolerance the file states, 18 refuse as the case expects, 0 differ, 0 were not run.
File 1, 93 cases
- Where the expected values came from: our own exact-arithmetic script and a hand-worked case
- Recorded on: 2026-11-14
- Reference: second implementation (Python 3.13), 2026-11-14; licence BSD-3-Clause
- Tolerance as the file states it: 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
File 2, 9 cases
- Where the expected values came from: an outside program, SciPy scipy.stats.linregress with NumPy log1p scipy 1.18.1, numpy 2.5.4
- Recorded on: 2026-11-25
- Reference: SciPy scipy.stats.linregress with NumPy log1p, scipy 1.18.1, numpy 2.5.4; licence BSD-3-Clause
- Tolerance as the file states it: relative 1e-10 on slope, intercept, Py, SE(K) and R² (the record's print bound), stated before the run, with the second implementation's near-zero floors (below 1e-300, absolute 1e-312, in each field's unit); counts, notes, codes and units exact
Apart from the worked example, the cases and their values are not printed here. This shows agreement with this project's recorded cases. It does not show that a method suits your work, and it is not a qualification.
What was 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.
Definition or model
A closed form: the result follows from the inputs by the equations alone.
Equations
Equation 1
ln(1/(1 − D)) = K·P + A, the left side formed as −log1p(−D)
| Symbol | Meaning and unit |
|---|---|
| D | relative density of the compact |
| P | compaction pressure, MPa |
| K | Heckel slope, 1/MPa |
| A | Heckel intercept |
Source: Heckel RW, Density-pressure relationships in powder compaction, Transactions of the Metallurgical Society of AIME 221:671–675 (1961), p. 671–675; not read: sold by OneMine; no open copy found on 11 November 2026 or on 24 November 2026 (the companion paper, 221:1001, is unread too). Read in its place: 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), 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), version of record, the journal's full-text HTML on J-STAGE as served on the read date (page bytes SHA-256 below; the equations are images, hashed in the locator); read in full on 2026-11-24 by an AI-assisted session; not yet checked by a person. To buy, checked 2026-11-11. No erratum found (searched none: the paper is unread; only its OneMine listing was seen), 2026-11-11.
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)
| Symbol | Meaning and unit |
|---|---|
| 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 |
| K | Heckel slope, returned as heckelSlope, 1/MPa |
| A | Heckel intercept, returned as intercept |
Source: 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), p. 4 of 6, section Linear regression fitting (the linear region chosen by the analyst), version of record, the publisher's PDF (hosted by Walsh Medical Media); read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning 2a859fda266c. Free to read (CC BY, as printed (no version number)), checked 2026-11-11. No erratum found (searched crossref), 2026-11-11.
Equation 3
Definition: the ordinary least-squares standard error of the slope and R² with weights 1, as weighted-line defines them (its delegation equation gives s and R²; SE(K) = s/√Sxx is the weights-1 case of its slope standard error; R² = Sxy²/(Sxx·Syy) is the simple-regression identity for 1 − Σeᵢ²/Syy), here formed from the exact forms of the line equation's numerical form.
eᵢ = (yᵢ − ȳ) − K·(Pᵢ − P̄)
s = √(Σeᵢ²/(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)
| Symbol | Meaning and unit |
|---|---|
| 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ᵢ |
| n | number of points in the region, returned as pointsUsed |
| s | residual 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ᵢ − ȳ)² |
| K | Heckel slope, 1/MPa |
| A | Heckel intercept |
Equation 4
Py = 1/K, for K above zero
| Symbol | Meaning and unit |
|---|---|
| Py | apparent mean yield pressure, returned as yieldPressure, MPa |
| K | Heckel slope, 1/MPa |
Source: Heckel RW, Density-pressure relationships in powder compaction, Transactions of the Metallurgical Society of AIME 221:671–675 (1961), p. 671–675; not read: sold by OneMine; no open copy found on 11 November 2026 or on 24 November 2026 (the companion paper, 221:1001, is unread too). Read in its place: 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), equation (2), and the sentence after it: the inverse of the slope represents the mean yield pressure, so Py = 1/K, section Introduction, version of record, the journal's full-text HTML on J-STAGE as served on the read date (page bytes SHA-256 below; the equations are images, hashed in the locator); read in full on 2026-11-24 by an AI-assisted session; not yet checked by a person. To buy, checked 2026-11-11. No erratum found (searched none: the paper is unread; only its OneMine listing was seen), 2026-11-11.
Equation 5
D = m/(ρ_true·A_punch·h), with A_punch = π·d²/4 for a flat round punch
| Symbol | Meaning and unit |
|---|---|
| D | relative density of the compact in die |
| m | mass of the compact, g |
| ρ_true | true density of the powder, g/cm^3 |
| A_punch | punch face area, cm^2 |
| h | compact thickness at the pressure, cm |
| d | punch diameter, cm |
Source: 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), 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, version of record, the publisher's PDF (hosted by Walsh Medical Media); read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning 2a859fda266c. Free to read (CC BY, as printed (no version number)), checked 2026-11-11. No erratum found (searched crossref), 2026-11-11.
Constants
Constants: none used.
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
- y1 = 0.69314718, from points[0].relativeDensity; by equation 1.
- y2 = 1.3862944, from points[1].relativeDensity; by equation 1.
- y3 = 2.0794415, from points[2].relativeDensity; by equation 1.
- meanP = 100 MPa, from points[0].pressure, points[1].pressure, points[2].pressure; by equation 2.
- meanY = 1.3862944, from y1, y2, y3; by equation 2.
- Sxx = 5000 MPa², from points[0].pressure, points[1].pressure, points[2].pressure, meanP; by equation 2.
- Sxy = 69.314718 MPa, from points[0].pressure, points[1].pressure, points[2].pressure, y1, y2, y3, meanP, meanY; by equation 2.
- K = 0.013862944 1/MPa, from Sxy, Sxx; by equation 2; gives heckelSlope.
- A = 0, from meanY, K, meanP; by equation 2; gives intercept.
- 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/MPaintercept= 0yieldPressure= 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.
Who worked this case: not recorded.
What it refuses, and its input ranges
RELATIVE_DENSITY_NOT_BELOW_ONE: 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) Next: Check the relative densities and their unit, or the mass, true density, punch size and thicknesses; where they are as intended, no change of input makes this computable on these data.RELATIVE_DENSITY_NOT_RESOLVED: 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 Next: Check the mass, true density, punch size and thicknesses and their units (or the relative densities). A porosity below about one part in 10¹⁶, or a relative density below about 10⁻²⁷¹, is beyond anything a compaction measurement gives; where the values are as intended, these data cannot be fitted in double precision.FIT_OUTSIDE_DOUBLE_RANGE: 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 Next: Check the pressures and their units, and the relative densities (or the mass, true density, punch size and thicknesses) and theirs. Values that put a result of the fit above about 10³⁰⁸ or below about 10⁻³⁰⁸ in its unit are beyond anything a compaction measurement gives; where the values are as intended, these data cannot be fitted in double precision.REGION_REVERSED(invalid input): the region's lowest pressure is not below its highest pressure (the region is empty or a single pressure)
Input ranges: points[*].pressure: at least 0 MPa; outside it, invalid input (NEGATIVE). points[*].relativeDensity: above 0; outside it, invalid input (NOT_POSITIVE). points[*].thickness: above 0 cm; outside it, invalid input (NOT_POSITIVE). region.lowestPressure: at least 0 MPa; outside it, invalid input (NEGATIVE). region.highestPressure: at least 0 MPa; outside it, invalid input (NEGATIVE). geometry.mass: above 0 g; outside it, invalid input (NOT_POSITIVE). geometry.trueDensity: above 0 g/cm³; outside it, invalid input (NOT_POSITIVE). geometry.punchDiameter: above 0 cm; outside it, invalid input (NOT_POSITIVE). geometry.punchArea: above 0 cm²; outside it, invalid input (NOT_POSITIVE).
Flags and notes a reply may carry
A note a reply may carry:
REGION_EXCLUDES_POINTS: Some points lie outside the stated pressure region and were not used in the fit, whatever their relative density; they stay in the inputs as given.
Changes
No correction is logged for form-heckel-fit@1.1.1.
Tools that use it
Cite this version
Heckel slope, intercept and mean yield pressure from relative density against compaction pressure. Drybench; form-heckel-fit@1.1.1; https://www.drybench.com/methods/m/form-heckel-fit/1.1.1 (accessed [date]).