16px to 24px Fluid Font Size
Compute a real fluid CSS clamp() value from a min and max size across two viewport widths, with the slope and intersection shown step by step and a live resize preview.
Result
Scaling a font size fluidly from 16px to 24px is one of the most common questions in CSS clamp() searches, because 16px is the near-universal body-text default and 24px is a frequent step up for a slightly larger heading or lead paragraph. This page opens the calculator with exactly that pair prefilled against a 320px to 1280px viewport range, so the clamp() line is ready the moment it loads.
If you only need the static rem or em equivalent of 16px or 24px — without any viewport-based scaling — the px to rem converter answers that in one step; this calculator is for the case where the value itself should change smoothly as the browser window resizes rather than stay fixed at one rem value.
The breakdown underneath shows exactly how 16px and 24px turn into a slope, a vw coefficient and a y-axis intersection, and the live preview slider lets you drag through the 320–1280px range to watch the text grow from one size to the other in real time before you copy the CSS line into your stylesheet.