36px → REM
36px to REM - 2.25rem at 16px Base
At the default browser root size of 16px, 36px equals
2.25rem. Formula: rem = px ÷ 16.
Last reviewed:
CSS snippet
.example {
font-size: 2.25rem; /* 36px at 16px root */
padding: 2.25rem;
} PX to REM formula
rem = px ÷ root font size
36px ÷ 16px = 2.25rem Worked example: To convert 36px at a 16px root,
divide 36 by 16.
36 ÷ 16 = 2.25. Write font-size: 2.25rem;
instead of font-size: 36px; so text scales when users enlarge their browser default font size.
Common use cases at 36px (2.25rem)
| Category | Tailwind / design use | CSS property example |
|---|---|---|
| Font size | Large heading / display text | font-size: 2.25rem; |
| Spacing | - | padding: 2.25rem; |
| Gap / margin | - | gap: 2.25rem; |
Nearby pixel conversions
Also see 32px to rem
and 40px to rem
.
36px to REM FAQ
How do you convert 36px to rem?
Divide 36 by the root font size. At the default 16px base: 36 ÷ 16 = 2.25rem. Formula: rem = px ÷ root font size. Paste font-size: 2.25rem; into your CSS so typography scales when users change their browser default font size.
What is 36px in rem at 16px base?
At a 16px root font size, 36px equals exactly 2.25rem. This is the browser default unless your project or the user changes html { font-size }. If your root differs, scale with rem = 36 ÷ yourRootPx before shipping production styles.
Should I use 2.25rem or 36px in CSS?
Use 2.25rem for typography and spacing that should scale with the user's root font-size preference - important for accessibility. Reserve 36px for fixed values like 1px borders or bitmap image dimensions. Prefer rem for layout rhythm so zoom and OS font settings do not clip text.
How do I convert 2.25rem back to pixels?
Multiply 2.25rem by 16: 2.25 × 16 = 36px. Reverse formula: px = rem × root font size. Use that when a design tool exports rem tokens and you need pixel sizes for image assets, canvas drawing, or developer handoff docs.
Where is 36px commonly used in web design?
36px (2.25rem) maps to Large heading / display text in typical design systems. For Tailwind spacing, see -. Check the use-case table on this page for CSS property examples covering font-size, padding, and gap so you can pick a consistent token across components and breakpoints.
Full converter
PX to REM Converter - any value, custom base
Cheat sheet
PX to REM cheat sheet - 12px through 64px