# What length CSS unit should you use?

**URL:** https://meta.discourse.org/t/what-length-css-unit-should-you-use/294197
**Category:** Development
**Tags:** css
**Created:** [February 5, 2024, 2:48pm UTC](https://meta.discourse.org/t/what-length-css-unit-should-you-use/294197 "2024-02-05T14:48:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [February 5, 2024, 2:48pm UTC](https://meta.discourse.org/t/what-length-css-unit-should-you-use/294197/1 "2024-02-05T14:48:53Z")

</div>

I just wanted to share this website I stumbled upon recently, and I find it useful.

It’s a flow chart that guides you on what length CSS unit you should use based on what you’re declaring.

Note: It’s a general guide, there is always exceptions!

> **[What CSS length unit should you use?](https://whatunit.com/)**

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/d/e/4de1dcee39d40b2751b127c943c018b1ade5a324.png)
