px ↔ rem 변환기
개발자 도구루트 폰트 크기 기준 변환, 일반 스케일 차트 제공
빠른 답변 보기
px ↔ rem Converter: Root font-size based conversion with common scale table. rem = px ÷ root font-size (browser default 16px).
px
px
rem
24px = 1.5rem · 1.5rem = 24px
1 rem16 px
24 px1.5 rem
1.5 rem24 px
62.5% trick10px = 1rem
환산 단계
- 1rem = px ÷ root font-size. 24px ÷ 16 = 1.5000 rem.
- 2px = rem × root font-size. 1.5rem × 16 = 24.00 px.
- 3html { font-size: 62.5% } 는 루트 글자 크기를 10px로 설정합니다. 이때 1.6rem=16px이어서 암산이 제로 코스트입니다(하지만 사용자 브라우저 글자 크기 설정을 덮어쓰므로 신중하게 고려해야 합니다).
자주 사용하는 그래디언트(클릭하여 채우기)
| px | rem | 용도 |
|---|---|---|
| 12px | 0.75rem | Caption text |
| 14px | 0.875rem | Small body |
| 16px | 1rem | Default body (browser base) |
| 18px | 1.125rem | Large body |
| 20px | 1.25rem | Small heading |
| 24px | 1.5rem | H3 heading |
| 32px | 2rem | H2 heading |
| 48px | 3rem | H1 display |
rem은 사용자 브라우저 글자 크기 설정을 존중합니다(접근성 친화적) px는 존중하지 않습니다. 글자 크기와 레이아웃 간격은 rem을 사용하고 테두리(1px 실선)와 그림자는 px를 사용하세요. em은 부모 요소 글자 크기에 상대적입니다 — 중첩하면 층층이 확대/축소되므로 신중하게 사용하세요.
이 도구가 도움이 되셨나요?
사용 방법
- Paste or type content: drop code/text into the px ↔ rem Converter or fill the parameters.
- Choose mode/options: switch format, rules or processing as needed.
- Live output: results appear instantly — nothing is submitted, data stays in your browser.
- One-click copy: copy the output straight into your development environment.
핵심 요점
- px ↔ rem Converter is a free online developer tool — open and use, no sign-up.
- All calculations run locally in your browser; your data never leaves the device.
- Key capability: Root font-size based conversion with common scale table.
- Results come with formulas and reference tables so you can verify every number.
원리 및 공식
px ↔ rem conversion
rem = px ÷ root font-size (browser default 16px)
em is relative to the parent (compounds); rem is always root-relative
vw = px ÷ viewport width × 100
Trick: set html font-size to 62.5% so 1rem = 10px
Example: 24px at 16px root = 1.5rem; 24px on a 1440px viewport ≈ 1.667vw.
자주 묻는 질문
How do I use the px ↔ rem Converter?
Open the page and fill in the input fields — results update automatically. Root font-size based conversion with common scale table.
Are the results accurate?
Yes. Standard formulas and conversion factors are used and verified.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. Everything runs locally in your browser.
관련 도구
관련 가이드
출처 및 업데이트
Based on RFC 4648, ECMA-262 and related specifications. Last updated: 2025-07
최근 업데이트:
이 페이지의 공식과 내용은 YiJianSuan 팀이 재검토했으며, 학습 참고용으로만 제공됩니다. 실제 업무는 공식 발표 내용을 기준으로 하십시오.
내용은 YiJianSuan 편집 팀이 유지 관리하고 정기적으로 재검토하며, 업데이트 및 심사 절차는 다음에서 확인하십시오편집 정책.
이 페이지 인용: YiJianSuan. px ↔ rem 변환기[EB/OL]. https://www.yijiansuan.com/ko/c/dev/px-rem
이 도구가 제공하는 결과는 참고용일 뿐 어떠한 전문적 조언도 구성하지 않으며, 공식 계산 결과를 기준으로 하십시오.