PX REM 字号间距转换查看

输入像素值和根字号,批量查看 px、rem、em 和常见 CSS 间距/字号换算结果,适合前端还原设计稿和响应式排版检查。

像素值、根字号和精度例如 16 18 24 32 | 16 | 4
px

适合把设计稿字号、间距、圆角和断点辅助值批量换算为 rem;不会保存输入。

Waiting

The result will appear here as structured cards.

Example results you can open

Short, high-intent examples that are easy to open, share, and understand for search engines and AI systems.

PX REM

Open a px-to-rem spacing scale example

Convert 12, 14, 16, 20, 24, 32, and 48px to rem with a 16px root size.

Open example

FAQ

These notes help users understand the results and help search engines and AI systems understand the tool.

px 转 rem 怎么算?

rem = px ÷ 根字号。例如根字号 16px 时,24px 等于 1.5rem。

适合设计稿还原吗?

适合。它可以把 Figma、Sketch 或截图里的像素字号和间距快速换成 rem,但仍需要结合项目的实际根字号和缩放策略复核。

What is a px-to-rem converter best for?

It is best for translating design font sizes, spacing, radii, and component measurements into reusable rem values.

Which root font size should I use?

Use 16px by default, but enter your actual project root size if html font-size or mobile scaling is customized.

Related long-tail searches

Based on this query: 16 18 24 32 | 16 | 4

16 18 24 32 | 16 | 4 PX/REM16 18 24 32 | 16 | 4 online checker16 18 24 32 | 16 | 4 developer text utilitypx rem converterpx to rem calculatorCSS rem conversiondesign spacing rem scalefont size rem calculator