AggregateRating – Structured Average Ratings with schema.org
The AggregateRating type from schema.org is used to mark up average scores calculated from multiple user reviews. It enables visible star ratings in Google search results and helps establish trust and relevance.
Unlike Rating, which represents a single score, AggregateRating expresses summary values like “4.8 out of 5 stars from 157 reviews”.
Key Features of AggregateRating:
- Uses numeric values: ratingValue, bestRating, worstRating
- Requires a count via reviewCount or ratingCount
- Typically embedded in Product, Recipe, Course, Service, etc.
- Triggers visual stars in search results (Rich Snippets)
Common Use Cases:
- Product pages with customer reviews
- Community ratings for recipes, guides, services
- Courses or books with large-scale feedback
- E-commerce platforms showing average user feedback
Example: AggregateRating (Product: Organic Rye Bread)
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Organic Rye Bread",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.8",
"reviewCount": "157",
"bestRating": "5",
"worstRating": "1"
}
}
</script>
Best Practices:
- Always define ratingValue, reviewCount, and rating scale
- Use only if your site actually shows aggregate ratings (no fake markup)
- Combine with individual Review objects if available
- Google requires that structured data reflects visible content on the page
Learn more about our services in structured data & technical SEO here.