px → rem converter
Convert pixel values to rem (and back) against any root font size, live. The table below covers the values you actually use — click any row to copy. Setting up typography? Test fonts from our catalog or generate your own.
ต้องการฟอนต์เฉพาะตัวสำหรับงานของคุณไหม สร้างฟอนต์จริงด้วย AI ในเวลาราวหนึ่งนาที รองรับได้ถึง 60 ภาษา ไฟล์ TTF/OTF/WOFF/WOFF2 ฟอนต์แรกฟรี ตัวสร้างฟอนต์ AI →
คำถามที่พบบ่อย
Why use rem instead of px?
rem scales with the user’s root font size — layouts stay accessible when people change their browser’s default text size.
What base size should I use?
16px is the browser default. If your CSS sets html{font-size:62.5%}, use base 10 for easy math.
Does this affect web fonts?
Font files don’t care about units, but sizing in rem keeps your generated YoFont families scaling correctly.