Five Star Rating Calculator

Quick answer

The five star rating calculator turns the number of 1★ to 5★ votes into the average star rating, the total number of votes and the share of positive and negative reviews, and tells you how many more 5-star votes are needed to reach a target rating.

Total votes
200
Total stars
858
Average rating
4.29 ★
Rounded to the nearest half star
4.5 ★
Positive votes (4–5★)
82.5 %
Negative votes (1–2★)
8.5 %
Share of 5★ votes
60 %
Standard deviation of the votes
1.09 ★
Extra 5★ votes needed to reach the target
84
Average after one more 1★ vote
4.274 ★

Star ratings on shops, apps, restaurants and films are weighted averages. Each star level is a value from 1 to 5 and the number of votes at that level is its weight, so the average is the total number of stars divided by the number of votes. Two products with the same 4.3 average can still look very different: one with mostly 4-star votes, another polarised between 5 and 1 stars. That is why the distribution matters as much as the mean.

Enter the vote counts for each level to get the average to two decimals, the rating rounded to the nearest half star as most sites display it, the total votes and the shares of positive (4–5★) and negative (1–2★) reviews. The calculator also shows how a single new 1-star vote would change the average, a quick sense of how stable the rating is.

Finally, set a target rating to find how many additional 5-star votes would lift the average to that level. Because each extra vote counts less as the total grows, raising an established rating takes many more votes than raising a new one.

How to use the Five Star Rating Calculator

  1. 5★ votes
  2. 4★ votes
  3. 3★ votes
  4. 2★ votes
  5. 1★ votes
  6. Target average rating

Results update as you type, and everything is calculated in your browser.

How it works

Multiply each star level by its number of votes, add the products to get the total stars S, and divide by the number of votes N. The 5★ votes needed for a target t solve (S + 5k) ÷ (N + k) ≥ t, giving k = ⌈(tN − S) ÷ (5 − t)⌉.

Worked example

A product has 120 five-star, 45 four-star, 18 three-star, 7 two-star and 10 one-star votes. N = 200 and the total stars are 5·120 + 4·45 + 3·18 + 2·7 + 1·10 = 858, so the average is 858 ÷ 200 = 4.29 stars (shown as 4.5 half-stars on many sites). 82.5% of votes are positive and 8.5% negative. To reach 4.5 the product needs ⌈(4.5 × 200 − 858) ÷ 0.5⌉ = 84 more five-star votes.

How many 5★ votes to raise a rating

Current rating Votes so far Target Extra 5★ votes
3.5 100 4.0 50
4.0 100 4.5 100
4.29 200 4.5 84
4.5 1,000 4.6 250

Inputs explained

Field What to enter
5★ votes A number
4★ votes A number
3★ votes A number
2★ votes A number
1★ votes A number
Target average rating A number

What each result means

  • Total votes = [5★ votes] + [4★ votes] + [3★ votes] + [2★ votes] + [1★ votes]
  • Total stars = 5×[5★ votes] + 4×[4★ votes] + 3×[3★ votes] + 2×[2★ votes] + [1★ votes]
  • Average rating = [Total stars]÷[Total votes]
  • Rounded to the nearest half star = round([Average rating]×2)÷2
  • Positive votes (4–5★) = (([5★ votes] + [4★ votes])÷[Total votes])×100
  • Negative votes (1–2★) = (([2★ votes] + [1★ votes])÷[Total votes])×100
  • Share of 5★ votes = ([5★ votes]÷[Total votes])×100
  • Standard deviation of the votes = sqrt(max(0, (25×[5★ votes] + 16×[4★ votes] + 9×[3★ votes] + 4×[2★ votes] + [1★ votes])÷[Total votes] – [Average rating]^2))
  • Extra 5★ votes needed to reach the target = max(0, ceil(([Target average rating]×[Total votes] – [Total stars])÷(5 – [Target average rating]) – 1e-9))
  • Average after one more 1★ vote = ([Total stars] + 1)÷([Total votes] + 1)

Formula

Average rating = (5·n₅ + 4·n₄ + 3·n₃ + 2·n₂ + 1·n₁) ÷ (n₅ + n₄ + n₃ + n₂ + n₁) · 5★ votes needed = ⌈(target × N − S) ÷ (5 − target)⌉

Worked example

Inputs: 5★ votes: 120; 4★ votes: 45; 3★ votes: 18; 2★ votes: 7; 1★ votes: 10; Target average rating: 4.5.
Results: Total votes = 200; Total stars = 858; Average rating = 4.29 ★; Rounded to the nearest half star = 4.5 ★; Positive votes (4–5★) = 82.5 %; Negative votes (1–2★) = 8.5 %; Share of 5★ votes = 60 %; Standard deviation of the votes = 1.09 ★; Extra 5★ votes needed to reach the target = 84; Average after one more 1★ vote = 4.274 ★.

Key terms

Star rating
A weighted mean of star levels with vote counts as weights.
Weighted mean
Σ(value × weight) ÷ Σweight.
Bayesian average
A rating pulled towards an overall average when there are few votes.

Frequently asked questions

How is a five star rating calculated?

Multiply each star level by its number of votes, add them up and divide by the total number of votes.

What is the average of 120 five-star, 45 four-star, 18 three-star, 7 two-star and 10 one-star votes?

Total stars = 600 + 180 + 54 + 14 + 10 = 858 from 200 votes, so the average is 4.29.

What is a good star rating?

On most platforms buyers trust ratings of about 4.2 to 4.5 most; a perfect 5.0 with many votes can look suspicious.

How many 5-star reviews do I need to get from 4.29 to 4.5?

k = (4.5 × 200 − 858) ÷ (5 − 4.5) = 84 more 5-star votes.

How many 5-star reviews to go from 3.5 to 4 stars?

With N votes averaging 3.5 you need (4N − 3.5N) ÷ (5 − 4) = 0.5N extra 5-star votes, which is 50 more if you already have 100 votes.

Why does one bad review matter more for a new product?

With few votes each one carries more weight. One 1-star vote moves a 5.0 average with 4 votes down to 4.2, but moves the example's 4.29 only to 4.274.

Do sites use a plain average?

Many adjust it, for example by weighting recent reviews more or blending in a prior (Bayesian average) for products with few votes.

Sources

  1. Wolfram MathWorld: Weighted mean
  2. OpenStax: Introductory Statistics 2e

Cite this calculator

Speedy Calculator. (2026). Five Star Rating Calculator. Speedy Calculator. https://speedycalculator.com/calculators/statistics/five-star-rating/

Embed this calculator on your website

Free for blogs, schools and businesses. Paste this code where the calculator should appear; it stays up to date automatically.