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输入像素值和根字号,批量查看 px、rem、em 和常见 CSS 间距/字号换算结果,适合前端还原设计稿和响应式排版检查。
适合把设计稿字号、间距、圆角和断点辅助值批量换算为 rem;不会保存输入。
The result will appear here as structured cards.
Short, high-intent examples that are easy to open, share, and understand for search engines and AI systems.
Convert 12, 14, 16, 20, 24, 32, and 48px to rem with a 16px root size.
Open exampleThese notes help users understand the results and help search engines and AI systems understand the tool.
rem = px ÷ 根字号。例如根字号 16px 时,24px 等于 1.5rem。
适合。它可以把 Figma、Sketch 或截图里的像素字号和间距快速换成 rem,但仍需要结合项目的实际根字号和缩放策略复核。
It is best for translating design font sizes, spacing, radii, and component measurements into reusable rem values.
Use 16px by default, but enter your actual project root size if html font-size or mobile scaling is customized.
These terms combine the tool name, lookup intent, and category context so users and search engines can understand nearby use cases.