The Average Rating (Star Rating) Calculator computes the mean star score from individual ratings and counts, with optional weighting and rounding.
Report an issue
Spotted a wrong result, broken field, or typo? Tell us below and we’ll fix it fast.
About the Average Rating (Star Rating) Calculator
This calculator converts a set of star counts into a single weighted average on your chosen scale. It treats each star level as a numeric value, multiplies by its frequency, and divides by the total number of ratings. The process is fast and transparent, so you can validate each step.
You can reflect review quality by assigning weights, such as giving more value to verified purchases. You can also apply Bayesian smoothing to reduce volatility when the sample is small. For reporting quality, the tool can display confidence intervals that show the likely range for the true average.
The result works across many platforms and scales, including 1–5 stars, 0–10 points, or 0–100 percentages. This flexibility lets you standardize metrics across teams, compare different distributions, and make consistent decisions.

Equations Used by the Average Rating (Star Rating) Calculator
Here are the core equations the calculator applies to your inputs. The default uses a straightforward weighted mean. Optional settings handle smoothing and uncertainty.
- Weighted average: mean = Σ(rating × count × weight) ÷ Σ(count × weight)
- Total ratings: N = Σ(count)
- Sample variance: s² = [Σ(x² × count) − N × mean²] ÷ (N − 1), when N > 1
- Standard error: SE = s ÷ √N
- Confidence interval (normal approx.): mean ± z × SE, where z is 1.645 (90%), 1.96 (95%), or 2.576 (99%)
- Bayesian-smoothed mean (optional): μpost = (w × μprior + Σ(rating × count)) ÷ (w + N)
The calculator maps your scale (for example, 1–5) directly to numeric values. It assumes ratings are treated as interval data so averages and intervals are meaningful. That is common in practice for star systems, but you can also report the distribution alongside the average.
How the Average Rating (Star Rating) Method Works
The method starts by reading your star scale, like 1 to 5. It collects how many ratings fall at each level. Then it computes a weighted mean and, if requested, an interval showing uncertainty.
- Map each star level to a numeric value on your scale.
- Multiply each value by its count (and optional weight) and sum the products.
- Divide by the total weighted count to get the average rating.
- Estimate variability with the sample variance and standard error.
- Apply a z-score to form confidence intervals at your chosen confidence level.
- Optionally shrink the mean toward a prior using Bayesian smoothing to stabilize small samples.
This workflow is transparent and auditable. It preserves the raw distribution, supports higher-level reporting, and avoids overreacting to small bursts of extreme reviews. The optional Bayesian step is especially useful when launching new products with limited data.
What You Need to Use the Average Rating (Star Rating) Calculator
Gather the items below first. Clean inputs reduce errors and avoid rework. You can always refine weights or smoothing later.
- Your rating scale endpoints, such as 1 to 5 or 0 to 10.
- The count of ratings at each star level on that scale.
- Optional weights, like verified vs. unverified or recent vs. older reviews.
- Optional prior mean and weight for Bayesian smoothing.
- Your desired confidence level for intervals (90%, 95%, or 99%).
- Rounding rules for display, such as two decimals or half-star steps.
Check that counts are nonnegative and the sum is correct. If your platform allows half-stars, ensure they map consistently to your scale. When N is very small, intervals will be wide and the mean may swing; consider smoothing or delaying public display.
Step-by-Step: Use the Average Rating (Star Rating) Calculator
Here’s a concise overview before we dive into the key points:
- Select your rating scale endpoints and display rounding.
- Enter the count for each star level on the scale.
- Add any weights for review quality or recency if you plan to weight.
- Choose whether to apply Bayesian smoothing and set prior values if needed.
- Pick a confidence level to compute intervals for reporting.
- Review the calculated average, interval, and distribution for reasonableness.
These points provide quick orientation—use them alongside the full explanations in this page.
Real-World Examples
An online retailer wants a stable 1–5 star score for a product. Counts are: 5★=120, 4★=50, 3★=20, 2★=10, 1★=5. The total is N=205. The weighted average is (5×120 + 4×50 + 3×20 + 2×10 + 1×5) ÷ 205 = 885 ÷ 205 ≈ 4.32. Estimated standard deviation is about 1.00, so SE ≈ 1.00 ÷ √205 ≈ 0.070. A 95% interval is 4.32 ± 1.96×0.070 ≈ [4.18, 4.45]. What this means: Display 4.32 stars and, internally, note the true average likely lies between about 4.18 and 4.45.
A mobile app has early reviews, which can swing wildly. Counts are: 5★=40, 4★=10, 3★=5, 2★=3, 1★=2 (N=60). The simple mean is (200 + 40 + 15 + 6 + 2) ÷ 60 = 263 ÷ 60 ≈ 4.38. To reduce volatility, apply Bayesian smoothing with a prior mean of 3.5 and weight w=20. The smoothed mean is (20×3.5 + 263) ÷ (20 + 60) = 333 ÷ 80 = 4.16. What this means: Display 4.2 stars publicly to avoid overstatement, and revisit smoothing as more ratings arrive.
Assumptions, Caveats & Edge Cases
Star ratings are ordinal by design but are often treated as interval data to compute averages. This is common in product and app ecosystems. It enables comparisons but introduces assumptions worth stating.
- Interval assumption: Treating the gap between 4 and 5 as equal to the gap between 1 and 2.
- Independence: Reviews are assumed independent; brigading or fraud violates this.
- Scale consistency: All ratings must use the same scale and mapping.
- Small-sample volatility: With low N, intervals are wide and means can swing.
- Skewed distributions: A few extremes can dominate; consider reporting medians too.
Address risks with verification, de-duplication, and automated fraud checks. For small N, use Bayesian smoothing and show intervals in internal dashboards. When distributions are highly skewed, add the median and percentiles to your report.
Units Reference
Star ratings are dimensionless, but clear “units” and symbols help teams align on scales, inputs, and uncertainty. Use the table to standardize labels in reports and dashboards.
| Quantity | Symbol | Typical Range | Notes |
|---|---|---|---|
| Rating scale end points | a..b | 1–5, 0–10, 0–100 | Ensure all inputs use the same scale. |
| Total ratings | N | 1–millions | Higher N narrows intervals. |
| Average rating | mean | a..b | Weighted by counts and optional weights. |
| Standard error | SE | 0–(b−a) | SE = s ÷ √N; smaller with more data. |
| Confidence interval | CI | [a..b] | mean ± z×SE at chosen confidence. |
| Bayesian prior weight | w | 0–100+ | Higher w increases smoothing effect. |
Read the table row by row when setting up your reports. For example, confirm the scale first, then confirm N, then show the mean with its CI. Keep symbols consistent across teams to avoid confusion.
Common Issues & Fixes
Most problems come from mixed scales, incorrect counts, or unstable small samples. Run quick checks before publishing scores and keep the raw distribution visible to analysts.
- Mixed scales: Convert everything to a single scale before calculating.
- Data entry errors: Reconcile totals and spot outliers in the distribution.
- Small N swings: Apply Bayesian smoothing and display intervals.
- Fraud or brigading: Use verification and outlier detection, then reweight or remove.
- Rounding mismatch: Align rounding rules with your display platform.
When numbers still look off, recompute from raw logs and audit each step. Document assumptions and any adjustments so product and marketing teams can interpret changes correctly.
FAQ about Average Rating (Star Rating) Calculator
Is average or median better for star ratings?
The average is standard for comparability and analytics. The median is robust to outliers. Report both when distributions are skewed or sample sizes are small.
How many ratings do I need for a reliable average?
There is no fixed number, but intervals shrink meaningfully beyond 30–50 ratings. Use Bayesian smoothing and display confidence intervals until you exceed that range.
Can I include half-star ratings?
Yes. Map 3.5 stars to 3.5 on your numeric scale and include its count. The weighted average and intervals handle fractional levels naturally.
How should I choose a prior for Bayesian smoothing?
Use a prior mean near your platform’s historical average and a weight that reflects how conservative you want to be, such as w=10–50 for early-stage items.
Glossary for Average Rating (Star Rating)
Rating Scale
The numeric range used for stars or points, such as 1–5 or 0–10. All ratings must map to this range for valid comparisons.
Weighted Average
An average that accounts for how often each rating occurs and any additional weights, such as verified reviews or recency.
Distribution
The spread of ratings across levels, such as the counts at 1, 2, 3, 4, and 5 stars. It reveals skew and variability.
Bayesian Smoothing
A technique that pulls the mean toward a prior value to stabilize small samples. It reduces early volatility.
Confidence Interval
A range around the average that likely contains the true mean for the population, given a chosen confidence level.
Standard Error
A measure of the uncertainty in the average due to sample size and variability. It shrinks as the number of ratings grows.
Prior
A chosen baseline mean used in Bayesian smoothing, often reflecting historical averages or domain expectations.
Sample Size
The total number of ratings included in the calculation. Larger samples produce more stable averages and narrower intervals.
Sources & Further Reading
Here’s a concise overview before we dive into the key points:
- Bayesian average overview and applications
- Confidence intervals: definitions and methods
- Likert scales and treating ordinal data as interval
- Wilson score interval for ranking proportions
- Standard error and its role in uncertainty
- Google Play rating and review guidance
These points provide quick orientation—use them alongside the full explanations in this page.
References
- International Electrotechnical Commission (IEC)
- International Commission on Illumination (CIE)
- NIST Photometry
- ISO Standards — Light & Radiation