Worked example
Original transfer (bytes): 24,000,000
Inputs
- Original font bytes by weight: 10000,20000
- Subset font bytes by weight: 4000,5000
- Visits: 1000
- Visits with all fonts cached (%): 20
Each uncached visit downloads every listed font weight.
Use the units shown.
Sum original sizes × visits × (1−cached percentage/100).
Sum subset sizes × uncached visits.
Original transfer minus subset transfer.
Byte reduction per uncached visit divided by original bytes × 100.
Each uncached visit downloads every listed font weight. Cached visits transfer no font bytes. Both scenarios use the same cache-hit assumption. Confirm that the subset retains every required glyph; headers and revalidation are excluded.
OpenStax: percentages and proportions ↗Original transfer (bytes): 24,000,000
Original transfer (bytes): 100,000