Ratio and aspect ratio
Ratio and aspect ratio lets you reduce integer ratios and inspect aspect ratios in your browser.
CSS unit converter lets you convert px, rem, em, vw, and vh with explicit font and viewport assumptions in your browser.
⌂ Inputs and results stay in this browser and are not automatically stored or sent.
Waiting for input
Choose source/target units and provide the applicable root font size, element font basis, and viewport dimensions.
16 px is not always 1 rem. The tool does not read your site's CSS; verify computed styles and enlarged-text behavior on the actual page.
16Each input is limited to 1,048,576 bytes, output to 33,554,432 bytes, and processing to 5,000 ms. Input is never silently truncated.
Ratio and aspect ratio lets you reduce integer ratios and inspect aspect ratios in your browser.
Flexbox and Grid generator lets you generate and preview Flexbox or Grid layout CSS in your browser.