How to Add Star Ratings in Notion (Easy Guide)
In this article
Notion doesn't have a built-in star rating property, but you can create one using a formula, a number property, or a select property. The most flexible method is a formula that displays filled and empty stars based on a number you enter. This guide walks you through setting up a star rating system in Notion, from simple to advanced, so you can rate books, movies, tasks, or anything else.
What You'll Need
- A Notion account (free or paid) and a page or database where you want to add ratings.
- Basic familiarity with Notion properties (number, formula, select).
- No additional apps or integrations required.
Step-by-Step
- Create or open a database. Star ratings work best inside a database (table, board, gallery, or list view). If you don't have one, create a new page and choose Table from the block menu, then add a few items.
- Add a Number property for the rating value. Click the
+button in the database header to add a property. Name it something like Rating and set the type to Number. This is where you'll enter a value from 1 to 5. You can also set a number format (e.g., Number or Percent) but plain number is fine. - Add a Formula property to display stars. Click
+again, choose Formula, and name it Stars. In the formula editor, you'll build a string of star characters based on the number you entered. - Write the star formula. A simple version uses the
repeat()function:repeat("★", prop("Rating")) + repeat("☆", 5 - prop("Rating")). This repeats a filled star for the rating value and empty stars for the remainder up to 5. If you prefer half-stars, you can use a more complex formula withfloor()andmod(), but the basic version covers most needs. - Test the formula. Enter a number (1–5) in the Rating property for a row. The Stars formula should update immediately to show the correct number of filled and empty stars. If you see an error, check that the property names in the formula match exactly (including capitalization).
- Adjust the display (optional). You can change the star characters to any symbol you like (e.g.,
⭐and☆). You can also hide the original Rating property if you only want to see the stars, but keep it visible for editing. - Use the rating in other views. The formula property works across all database views. You can sort by the Rating number property to rank items, or filter to show only high-rated entries.
Common Mistakes
- Using a Select property instead of Number. A Select property with star options (e.g., "★", "★★") works but is harder to sort and calculate. Number + Formula is more flexible.
- Forgetting to reference the correct property name. In formulas, property names are case-sensitive and must be enclosed in double quotes inside
prop(). A typo likeprop("rating")when the property is "Rating" will cause an error. - Entering values outside 1–5. The basic formula assumes a rating between 1 and 5. If you enter 0 or 6, you'll get negative empty stars or extra filled stars. Add a
min()andmax()to clamp the value if needed. - Expecting the stars to be clickable. The formula output is text; you can't click a star to set the rating. You must edit the number property directly.
Tips
- Use a consistent star set:
★(U+2605) and☆(U+2606) render well in most fonts. Emoji stars (⭐) also work but may look larger. - For half-star ratings, use a formula like
repeat("★", floor(prop("Rating"))) + if(mod(prop("Rating"),1) >= 0.5, "½", "") + repeat("☆", 5 - ceil(prop("Rating"))). This is more complex but gives finer control. - Add a description or emoji to the Rating property to make it clear what the number means (e.g., "1 = poor, 5 = excellent").
- If you want a visual bar instead of stars, you can use the same repeat technique with block characters like
█and░.
Troubleshooting
- Formula shows an error: Check that the property name inside
prop()matches exactly. Also ensure the Rating property contains a number, not text. - Stars don't update: Notion formulas recalculate automatically. If they don't, try refreshing the page or checking that the formula is saved.
- Stars appear as question marks or boxes: Your font may not support the star characters. Try using emoji stars (⭐ and ☆) instead.
- Rating property is missing from the formula editor: Make sure the property exists and is of type Number. You can't reference a property that hasn't been created yet.
- Want to change the maximum rating: Adjust the formula's constant (the
5in5 - prop("Rating")) to your desired maximum, and update the empty star repeat accordingly.
Frequently Asked Questions
Can I make the stars clickable to set the rating?
No, Notion formulas are display-only. You must edit the number property to change the rating. Some users create a select property with star options for quick clicking, but that limits sorting and calculations.
Can I use half-stars?
Yes, with a more advanced formula that checks for decimal values. The basic formula only supports whole stars. See the Tips section for a half-star example.
Do star ratings work on mobile?
Yes, the formula and number properties work the same in the Notion mobile app. However, editing formulas on mobile can be fiddly; it's easier to set up on desktop.
Can I sort by star rating?
Yes, sort by the Number property (Rating) rather than the formula property. Sorting by the formula will sort alphabetically by the star string, which may not match the numeric order.
Is there a template for star ratings?
Notion's template gallery has user-submitted templates, but they vary in quality. It's safer to build your own using the steps above.
What if I want a 10-star rating?
Just change the formula to repeat stars up to 10 and adjust the empty star count accordingly. The same logic applies.