Get started
2 commitsLast commit ≈ 3 days ago0 stars0 forks
Bicycle tire pressure: road/gravel constant-deflection model and MTB model.
Bicycle tire pressure from rider weight, tire width, rim and setup. Two independent engines: a road/gravel constant-deflection model (Frank Berto's 15 % tire drop, with a real-width correction from a 321-tire census) and an MTB model fitted to the public SRAM/Zipp guide. This repository holds both engines, their golden vectors and the verifiers. GitHub Actions runs the verifiers on every change.
| Step | Formula |
|---|---|
| Real width | W = nominal + δ + 0.4·(rim − 18); δ_road = 7.953 − 0.2727·nominal, δ_gravel = 1.504 − 0.0827·nominal |
| Rear pressure | P = 600·L / W² + 0.75·W − 25 (L = rear load in lb, W in mm, P in PSI) |
| Corrections | butyl tube +5 %, supple −5 %, stiff +5 %, rough asphalt −5 %, gravel −12.5 % |
| Front | P_front = 0.93 · P_rear |
| Caps | hookless 72.5 PSI; hookless ≥ 30 mm internal 60 PSI |
python verify_psi.py # road/gravel, written from the white paper, standard library only
node check_engine.js # both real engines, Node.js 18+
| What | Result |
|---|---|
| White paper's six cross-validation cases (12 front/rear values) | reproduced by the independent verifier and by the engine |
| Engine vs white paper closed form, 6,480 inputs | max difference 0.002 PSI (the paper prints 1.5043 as 1.504) |
| MTB golden vectors | 8/8 to 1e-4 bar, plus sign guard (more weight → more pressure, wider → less, smaller wheel → more) |
| MTB vs SRAM AXS guide, live on 2026-11-23 | 3 of 4 cases match to SRAM's two decimals; see below |
verify_psi.py was written on 2026-11-23 from the white paper and is declared as such.psi_engine_mtb.js. What BikeLab adds on top: tire inserts (CushCore FAQ), the ETRTO hookless cap, an uncertainty band and the self-test.kg input is the rider with gear. This was not written down in July and is now.Engines, vectors and verifiers: CC BY 4.0.
Ravello Joo, C. E. (2026). BikeLab PSI Calculator (Version 3.0.0) [Software]. Zenodo. https://doi.org/10.5281/zenodo.24479993
All versions from 3.0.0: DOI 10.5281/zenodo.24479992.