PX to REM Converter

    Quickly swap between pixels and REM units for accessible typography. Adjust the base size to fit your root CSS.

    Base Font Size

    The font-size applied to the `<html>` root element.

    px
    Typography Preview

    Common Scale

    Pixels
    REM
    12px
    0.75remClick
    14px
    0.875remClick
    16px
    1remClick
    18px
    1.125remClick
    20px
    1.25remClick
    24px
    1.5remClick
    30px
    1.875remClick
    36px
    2.25remClick
    48px
    3remClick
    60px
    3.75remClick
    72px
    4.5remClick

    Why use REMs instead of Pixels?

    REMs (Root EM) scale based on the user's browser-level font size preferences. If a visually impaired user increases their default font size from 16px to 24px, your entire design scales proportionately. Hardcoded pixels break accessibility.

    How is this calculated?

    The formula to calculate REM is: Target PX / Base Size = REM

    For example, if your base size is 16px, converting 24px is simply 24 / 16 = 1.5rem. By keeping your root font-size at 100%, you respect the user's OS choices.

    Why use our free design tools?

    100% Free Forever

    No hidden fees, no credit card required, and absolutely no premium lockouts. Everything works completely free, forever.

    Zero Ads. No Login.

    We respect your focus. You won't see annoying banners or popups here. No account creation or email signup required to use the tools.

    Private & Secure

    Processing happens right in your browser. Your images, colors, and design data are never uploaded to our servers. Fast and completely private.

    Related Tools

    Need more design power?

    Inspo AI gives you AI search, moodboards, brand audits, and competitor scanning — all in one workspace.

    Try Inspo AI Free