# Fraction unit

*noun*

say it: **“FRAK-shun YOO-nit”** **/ˈfrækʃən ˈjuːnɪt/**

The CSS fr unit: one share of the space left over in a grid.

## What is the `fr` unit?

The **fraction unit** (`fr`) shares out the leftover space in a grid. `1fr 2fr` gives the second column twice as much.

```css
.layout { display: grid; grid-template-columns: 1fr 2fr; }
```

## In a sentence

- “With the **fr unit**, 2fr 1fr makes the first column twice as wide as the second.”

Level: Journeyman · [More CSS terms at this level](https://www.ask-codey.com/glossary?category=css&level=3)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/fraction-unit
