Work out font size converter instantly with clear inputs, formula shown and shareable results.
Each typographic size unit is defined as a multiple of the point, so the conversion runs in two steps: multiply by the source unit's factor to reach point, then divide by the target unit's factor. One factor per unit covers every pair in the list. A CSS pixel is 1/96 inch and a point 1/72 inch, so 16 px is exactly 12 pt. Em and rem depend on the base font size, taken as 16 px here.
Two-step conversion
result = value × factor(from) ÷ factor(to)
Base value
base (point) = value × factor(from)
With 7 units, direct pairs would mean 42 factors to maintain. Going via point needs one factor per unit and gives the same answer.
Yes. The first is the unit your figure is already in; the second is what you want it in. Swapping them inverts the result.