Skip to content

Font Size Calculator

Calculate ideal responsive font sizes based on viewport width and base size. Free font size calculator with px, rem, em conversion and WCAG compliance.

CSS ToolsCalculators
Instant results

Browser default is 16px. Used for rem/em conversion.

Used for vw unit conversion. Common: 1920, 1440, 1366, 375.

pxrememptvw
80.50.560.4167
100.6250.6257.50.5208
120.750.7590.625
140.8750.87510.50.7292
1611120.8333
181.1251.12513.50.9375
201.251.25151.0417
241.51.5181.25
281.751.75211.4583
3222241.6667
362.252.25271.875
402.52.5302.0833
4833362.5
563.53.5422.9167
6444483.3333
724.54.5543.75
9666725

Formulas: rem = px / base, em = px / base, pt = px * 0.75, vw = (px / viewport) * 100

WCAG Size Compliance

Normal text (not large)
Level AA: Pass(min contrast 4.5:1)
Level AAA: Check contrast(min contrast 7:1)

Large text: 24px+ (or 18.66px+ if bold). Large text has lower contrast requirements.

Live Preview

The quick brown fox jumps over the lazy dog. 0123456789

About Font Size Calculator

Convert between font size units (px, rem, em, pt, vw) with a customizable base font size and viewport width. Check WCAG accessibility compliance for your font sizes and preview text at different sizes in real time.

How to Use Font Size Calculator

1

Open Font Size Calculator

Navigate to Font Size Calculator in your browser — no installation or sign-up required.

2

Enter your data

Type, paste, or upload the content you want to process into the input area.

3

Configure options

Adjust any available settings to customize the output to your needs.

4

Get your result

The result appears instantly. Copy it to your clipboard or download it as a file.

Frequently Asked Questions

Font Size Calculator is a free online CSS utilities tool. Calculate ideal responsive font sizes based on viewport width and base size. Free font size calculator with px, rem, em conversion and WCAG compliance.