← All tools
EDTOOLKITS GUIDES

CSS Specificity Calculator in your browser

By Team Edtoolkits · Developer

Score CSS selectors as (ids, classes, types), see how each part counts, and find out which rule wins and why. Handles :is, :not, :where, :has and nth-child of.

Use the guide alongside the working tool.

Open CSS Specificity Calculator →

Get started

Type or paste selectors, one per line.

Adjust and explore

Read each score and how every part adds up.

Save and share

Check the ranking to see which rule wins and why.

Privacy and limits

Scores selectors only. It does not read inline styles, !important layers, @layer order or source order in your real stylesheet. Your selectors stay on your device.

Ready to apply this workflow?

Try CSS Specificity Calculator →

Explore a related workflow

All practical guides →

Found unclear instructions or an unexpected result? Contact Team Edtoolkits.

YOUR BROWSER, YOUR CHOICE