FreightCalc HQ
Complete Formula Audit

Calculation Methodology & Official Regulatory Sources

Maintained by Oscar Sanz · Last verified November 28, 2026 · Automated unit-test suite verified in TypeScript

Every calculator on FreightCalc HQ uses deterministic, open engineering formulas verified against published North American and international transport standards. All calculations run strictly client-side in your browser. Below is the complete mathematical audit across all four silos.

Core Unit Conversion Constants

ConversionExact Constant UsedApplied In
Inches to Centimeters1 in = 2.54 cm (exact)LTL density, CBM, DIM weight, pallet tools
Kilograms to Pounds1 kg = 2.2046226218 lbsLTL density, CBM, chargeable weight, pallets
Cubic Inches to Cubic Feet1 cu ft = 1,728 cu in (12³)Freight Class & PCF density
Cubic Meters to Cubic Feet1 CBM = 35.3146667 CFTCBM & CFT converter, LTL metrics
Miles to Kilometers1 mile = 1.609344 km (exact)Diesel cost per km & cross-border trucking

Silo 1 — LTL Freight & NMFC Formulas

  • Freight Density (PCF): Total Cubic Feet = Σ (L_in × W_in × H_in × Qty) ÷ 1,728. Density (PCF) = Total Weight (lbs) ÷ Total Cubic Feet. Optional pallet height bonus adds 6 inches per unit when carton dimensions exclude the wood skid. Density maps directly to the 13-tier NMFC scale from Class 400 (<1 PCF) down to Class 50 (50+ PCF).
  • LTL Freight Cost Estimate: Converts weight to hundredweight (CWT = Weight ÷ 100), applies a distance-scaled base CWT tariff with weight-break adjustments, class multiplier, percentage fuel surcharge, and itemized accessorial allowances (liftgate pickup/delivery, residential, limited access, appointment), then outputs an indicative low (−15%), mid, and high (+20%) market range.
  • Linear Feet (53ft Dry Van): Computes Effective Floor Positions = Stackable ? ceil(Pallets ÷ 2) : Pallets, calculates side-by-side capacity inside a 98-inch interior trailer width for both straight-in and pinwheeled (turned) loading, derives linear footage (Rows × Pallet Length) ÷ 12, and flags the 12-foot LTL cubic capacity threshold.

Silo 2 — Shipping Volume, Pallets, Containers & Landed Cost

  • CBM & CFT Volume: Converts all dimensions (cm, m, mm, in, or ft) to meters, computes CBM = Σ (L_m × W_m × H_m × Qty), CFT = CBM × 35.3146667, air volumetric weight (CBM × 166.6667 kg), ocean LCL revenue tons (max(CBM, Weight_kg ÷ 1,000)), and practical fill ratios against 20ft (28 CBM), 40ft (58 CBM), and 40ft HC (68 CBM) containers.
  • Dimensional (DIM) Weight: Raw DIM = (L × W × H) ÷ Divisor (supports standard 139, 166, and metric 5000 divisors). Both actual and dimensional weights round up to the next whole unit (ceil) per carrier billing convention; billable weight is max(Billed Actual, Billed DIM).
  • Air & Ocean Chargeable Weight: Air freight divides cubic centimeters by 6000 (standard IATA 1:167 kg/CBM) or 5000 (express) and rounds chargeable weight upward to the nearest 0.5 kg. Ocean LCL compares 1 CBM against 1,000 kg (Weight/Measure revenue ton).
  • Pallet Load, Ti-Hi & Rack Capacity: Evaluates both standard and 90°-rotated box orientations on US GMA (48×40 in), 48×48 in, Euro EUR 1 (1200×800 mm), and Australian (1165×1165 mm) pallets; caps stack height (Hi) by the stricter of max height or max pallet gross weight; and verifies warehouse beam-pair and upright-frame utilization percentages.
  • Container Load & Import Landed Cost: Evaluates practical container volume (~85% usable cube) vs. ISO 668 maximum payload to flag CUBE-OUT vs. WEIGHT-OUT. Landed cost computes CIF = Merchandise + Freight + Insurance, applies customs duty on merchandise value, adds brokerage/port fees, and derives landed cost and gross margin per unit.

Silo 3 — Trucking Profit, Fuel Surcharge & IFTA Formulas

  • Owner-Operator Cost Per Mile: Fixed CPM = Monthly Fixed Overhead ÷ Total Miles; Fuel CPM = Diesel Price ÷ MPG; Variable CPM = Fuel CPM + Maintenance + Tolls + Driver Pay; Break-Even Loaded Rate = Operational CPM ÷ [(1 − Deadhead%) × (1 − Fee%)]; Minimum Profitable Rate = Break-Even Loaded Rate ÷ (1 − Target Margin%).
  • DOE Diesel Fuel Surcharge (FSC): Diesel Delta = max(0, Current DOE Diesel − Base Fuel Price); FSC/Mile = Diesel Delta ÷ Contract MPG; Trip FSC = FSC/Mile × Loaded Miles; FSC % of Linehaul = (Trip FSC ÷ Linehaul) × 100.
  • Quarterly IFTA Fuel Tax: Fleet MPG = Total Miles ÷ Total Tax-Paid Gallons (rounded to 2 decimals); Taxable Gallons = Jurisdiction Miles ÷ Fleet MPG; Net Taxable Gallons = Taxable Gallons − Tax-Paid Gallons; Net Tax Due/(Credit) = Net Taxable Gallons × Jurisdiction Rate.

Silo 4 — DOT & FMCSA Compliance Formulas

  • FMCSA Hours of Service (49 CFR Part 395): Tracks remaining 11-hour driving time, 14-hour consecutive duty window, mandatory 30-minute break threshold at 8 cumulative driving hours, 60-hour/7-day or 70-hour/8-day cycle balance, and exact UTC/local completion timestamps for 10-hour daily off-duty resets and 34-hour cycle restarts.
  • Interstate Axle Weight & Federal Bridge Formula (23 U.S.C. 127): Checks standard 12,000 lb steer, 34,000 lb drive tandem, 34,000 lb trailer tandem, and 80,000 lb interstate gross weight caps. Computes exact Federal Bridge max weight W = 500 × [(L × N) ÷ (N − 1) + 12N + 36] rounded to the nearest 500 lbs, including the statutory 68,000 lb exception for two consecutive tandem sets spaced 36–38 ft apart, and estimates tandem-slide pin adjustments.

Official Regulatory & Standards References

Important: Carrier-specific tariffs, special NMFC commodity item numbers, state non-interstate bridge laws, and quarterly IFTA split-rate surcharges vary by contract and jurisdiction. Always review our Terms of Use & Calculation Disclaimer.