rem
C2Pronunciation
UK
- /rˈɛm/
US
- /ˈrɛm/
Description
- radiation dose unit
- dream sleep stage
- code comment command
- CSS size unit
The term "rem" shows up in a few very different worlds. In older radiation science, it stands for "roentgen equivalent man," a unit used to describe the effect of ionizing radiation on the human body. In sleep science, REM means "Rapid Eye Movement," the stage of sleep most closely linked with vivid dreams. In computing, it can also mean a comment command in older programming languages, or a CSS unit based on the root font size of a page. It is a short term, but it carries several clear and well-known meanings.
The word "rem" first became widely known in science as an abbreviation for "roentgen equivalent man." This unit was used to express the biological effect of ionizing radiation on the human body, not just the raw amount of radiation in the air. Today, the sievert (Sv) is the standard SI unit, so rem is mostly treated as a legacy unit, but it still appears in older texts, safety discussions, and some medical or nuclear contexts. For example, a large whole-body dose measured in hundreds of rem can be deadly, while an ordinary medical X-ray involves only a very small fraction of that.
But "rem" isn't just for physicists. If you've ever woken up from a particularly vivid dream, you've spent time in REM sleep. This "Rapid Eye Movement" stage is characterized by high brain activity and is crucial for memory consolidation and emotional health. It's the part of the night where your brain stays busy even while your body stays still.
In the digital world, "rem" has taken on more roles. For web developers, it refers to a CSS length unit based on the root element's font size, which makes layouts and text easier to scale in a consistent way. Meanwhile, in older programming languages and scripting systems such as BASIC and batch files, "REM" is used to mark a remark or comment, letting programmers leave notes that the computer ignores when running the code. From radiation labs to sleeping minds to computer screens, "rem" shows how one short term can travel across very different parts of life and still stay useful.
Examples
- 1
Typography
Set the body text to `1rem` and increase the headings from there.
- 2
Button spacing
I changed the button padding from `12px` to `0.75rem` so it scales better with the base font size.
Domain
In CSS, `rem` is usually used after a number, such as `1rem` or `0.75rem`.
- 3
Site layout
We use `rem` for spacing across the site to keep the layout more consistent.
Forms and spellings
1 form open this card.
Main spelling
- remnoun