转换器

REM转PX转换器

Convert REM units to pixel values based on configurable root font size.

Instant Private 100% Free CSS Ready

REM → PX

Paste your value below and get instant results

默认: 16px。
REM PX Description
0.5rem 8px Small spacing
0.75rem 12px Caption text
0.875rem 14px Compact body
1rem 16px Default body (base)
1.25rem 20px Subheading
1.5rem 24px H3 heading
2rem 32px H2 heading
3rem 48px H1 heading
4rem 64px Display heading

How It Works

Convert in 3 simple steps

1

Paste Your Value

Enter your REM value in the input field.

2

Instant Conversion

Click convert or just type — the result appears instantly with live preview.

3

Copy & Use

Copy the result or CSS variable with one click. Share via URL.

Why Developers Love This Tool

Instant Results

Real-time conversion as you type. No waiting, no page reloads.

100% Client-Side

All processing happens in your browser. No data is sent to any server.

CSS Variable Output

Get copy-ready CSS custom property syntax alongside raw values.

Shareable URLs

Generate pre-filled links to share specific conversions with your team.

什么是REM到PX的转换?

将<strong>REM</strong>转换为<strong>PX</strong>是常见任务。Convert REM units to pixel values based on configurable root font size.

转换原理

将REM值乘以根字体大小。

Common REM to PX Conversions

  • 0.75rem = 12px — small/caption text
  • 0.875rem = 14px — compact body text
  • 1rem = 16px — default body text
  • 1.25rem = 20px — subheadings
  • 1.5rem = 24px — h3 headings
  • 2rem = 32px — h2 headings

Why Use This Converter?

  • Instant results — paste a value and get the converted output immediately.
  • Copy-ready CSS — one-click copy with properly formatted syntax.
  • Shareable URLs — pre-fill values via URL for easy team sharing.
  • No installation — works in any browser, on any device.

FAQ

转换器的精度如何?

使用数学精确的算法。

免费吗?

是的,完全免费。

可以分享结果吗?

可以,使用分享链接按钮。