Skip to main content
Preparing workspace

Pixel to Rem Converter

1 pixel = 0.0625 rems at a 16 px root size. Convert pixels to rems with the formula, a worked example and a common-values table. Works both ways.

Still loading. If the tool doesn’t appear, reload this page.

About this tool

Pixel to Rem Converter

1 pixel = 0.0625 rems. Convert pixels to rems and back, free in your browser.

1 pixel = 0.0625 rems, so 5 px = 0.3125 rems. To convert back, 1 rem = 16 px. The factor assumes 1 rem = 16 px, the browser-default root font size. Type a value in either field for an instant result, or check the two-way table of common pixel and rem values below, handy for CSS and print layouts.

How to use Pixel to Rem Converter

  1. Type the value you want to convert into the Pixel field.

  2. Read the equivalent in rems in the result field, and copy it if needed.

  3. Use the decimal-places slider for more or less precision, or press swap to convert rems to pixels.

Why use Pixel to Rem Converter

  • Instant, both ways

    The result updates as you type, and the swap button flips the conversion to rem → pixel without reloading.

  • Conversion formula

    The converter applies rem = px × 0.0625 and rounds the result for display.

  • Adjustable precision

    A slider sets 0–10 decimal places, and very small or very large results switch to scientific notation instead of rounding to zero.

  • Private and free

    Everything runs locally in your browser — no upload, no account, no limit on conversions.

Pixel to Rem conversion table

Common pixel and rem values converted each way. Values may be rounded for display. The formula is rem = px × 0.0625. Assumes 1 rem = 16 px, the browser-default root font size; a rem scales with the page's root font size.
ValueConverted
1 px0.0625 rems
2 px0.125 rems
5 px0.3125 rems
10 px0.625 rems
25 px1.5625 rems
50 px3.125 rems
100 px6.25 rems
1,000 px62.5 rems
1 rem16 px
2 rems32 px
5 rems80 px
10 rems160 px
25 rems400 px
50 rems800 px
100 rems1,600 px
1,000 rems16,000 px

Common use cases

  • Converting a pixel measurement to rems for a spec, listing, or report.
  • Checking pixel↔rem figures while comparing products, datasets, or documentation.
  • Learning the pixel-to-rem relationship from the worked formula and the common-value table.

Frequently asked questions

How many rems are in a pixel?

One pixel is 0.0625 rems. Multiply the pixel value by 0.0625. For example, 5 px = 0.3125 rem.

Link to answer
What is the formula to convert pixels to rems?

rem = px × 0.0625. The converter applies this formula automatically. For example, 5 px = 0.3125 rem.

Link to answer
Can it convert rems back to pixels?

Yes: 1 rem is 16 pixels. Press the swap button, or type into the rem field, and the tool converts rems to pixels using the inverse of the same relationship.

Link to answer
Is the conversion accurate?

This conversion assumes 1 rem = 16 px, the browser-default root font size; a rem scales with the page's root font size. The displayed formula is rem = px × 0.0625. Results are rounded for display, and ≈ marks an approximation.

Link to answer

Embed this tool on your site

Add the Pixel to Rem Converter widget to your blog or website — free, responsive, no signup. Just keep the “Widget by AltFTool” credit link visible.

<iframe src="https://www.altftool.com/embed/widget/pixels-to-rems-converter"
  title="Pixel to Rem Converter — free AltFTool widget"
  width="100%" height="640" style="border:0;border-radius:12px;overflow:hidden"
  loading="lazy" referrerpolicy="no-referrer-when-downgrade" allow="clipboard-write"></iframe>
<p style="font-size:12px;margin:4px 0 0">Widget by <a href="https://www.altftool.com/tools/all/pixels-to-rems-converter?utm_source=embed&utm_medium=widget" rel="nofollow">AltFTool — free online tools</a></p>

Browse all embeddable widgets →