Responsive Fluid Value
Calculator

Inputs

Interpolated value (px)
20.142857

Results

Interpolated value (px)
20.142857
Interpolation fraction
0.517857

Design and print results

Interpolated value (px)20.142857
Interpolation fraction0.517857

formula-map diagram

Interpolated value (px)
20.142857
Interpolation fraction
0.517857

Formula breakdown

Formula

value = min + (viewport − 320) ÷ (max breakpoint − 320) × (max − min), clamped

= 20.142857142857

Note

Simplified model: these are standard prepress and typographic relationships computed on nominal values. Real press bulk, paper caliper and shrinkage, ink limits for a given profile, font metrics and binding allowances vary by supplier and by job, so confirm with your printer and a proof before going to press.

Example: with the default inputs, calculator.design.interpolated_value_px is 20.142857142857142.

More in Design and printing

See all →

Frequently asked questions

How is the fluid value calculated?+

It is a linear interpolation between your min value and max value, based on the viewport width. The position runs from 320 px up to the max breakpoint you enter.

Why is 320 px used as the lower bound?+

The calculator fixes the smallest viewport at 320 px; this is not an input you can change. Below that width the value stays at the min value.

What happens above the max breakpoint?+

The viewport width is clamped, so the value stops growing and stays at the max value. Below 320 px it stays at the min value.

What is the interpolation fraction?+

It is (viewport − 320) ÷ (max breakpoint − 320) after clamping, a number between 0 and 1. The value equals min plus this fraction times (max − min).

Does it generate CSS clamp() code?+

No, it only returns the interpolated pixel value and the fraction for the viewport width you enter. Use the same min, max and breakpoints in your own CSS.