Skip to main content
Ctrl K

BikeLab PSI Calculator

Bicycle tire pressure: road/gravel constant-deflection model and MTB model.

1
contributor
Get started
2 commitsLast commit ≈ 3 days ago0 stars0 forks

Cite this software

Description

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.

Road/gravel model (white paper, sections 3–6)

StepFormula
Real widthW = nominal + δ + 0.4·(rim − 18); δ_road = 7.953 − 0.2727·nominal, δ_gravel = 1.504 − 0.0827·nominal
Rear pressureP = 600·L / W² + 0.75·W − 25 (L = rear load in lb, W in mm, P in PSI)
Correctionsbutyl tube +5 %, supple −5 %, stiff +5 %, rough asphalt −5 %, gravel −12.5 %
FrontP_front = 0.93 · P_rear
Capshookless 72.5 PSI; hookless ≥ 30 mm internal 60 PSI

Verification

python verify_psi.py   # road/gravel, written from the white paper, standard library only
node check_engine.js   # both real engines, Node.js 18+
WhatResult
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 inputsmax difference 0.002 PSI (the paper prints 1.5043 as 1.504)
MTB golden vectors8/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-233 of 4 cases match to SRAM's two decimals; see below

Honest notes

  • The original 2026 oracle scripts were not preserved. verify_psi.py was written on 2026-11-23 from the white paper and is declared as such.
  • The MTB model is a fit to the SRAM/Zipp guide, not an independent physical model: 30 runs captured on 2026-07-02, fit r.m.s. 0.004 bar. Its coefficients are published only in psi_engine_mtb.js. What BikeLab adds on top: tire inserts (CushCore FAQ), the ETRTO hookless cap, an uncertainty band and the self-test.
  • Implicit bike weight. The fit matches SRAM when SRAM's bike weight is 14 kg; the kg input is the rider with gear. This was not written down in July and is now.
  • Known limit. On a 26-inch wheel with a 25 mm rim (golden case G6) the model is 4 % below SRAM's current guide (2.01 / 2.14 vs 2.09 / 2.22 bar). Either SRAM changed since July or the fit is weaker at that corner. Not changed: the published engine is archived as it is. Details: sram_comparison_2026-11-23.json.
  • Not checked against SRAM: the XC, enduro and DH cases, and inserts (SRAM has no insert option).
  • Road/gravel uncertainty band is a Monte Carlo without a fixed seed, so the ± band can move slightly between runs; the central value is deterministic and is what is verified.

License and citation

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.

Keywords
Badges
CI: verifiers
Programming languages
  • JavaScript 72%
  • Python 28%
License
</>Source code
Software Heritage
Archived | swh:1:rev:d76a0fa901142aa7a22e3a2a99c15b0ab210965a

Contributors