> For the complete documentation index, see [llms.txt](https://docs.famewall.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.famewall.io/other-tools/review-stats-and-schema-rating.md).

# How the Review Stats widget and Review Schema snippet calculate your rating

How the Review Stats widget and the Review Schema snippet calculate your average rating and review count, and what the snippet shows to Google.

The **Review Schema & Stats Snippet** tab gives you two pieces of code: a snippet that tells Google your average rating, and a small widget that shows "Rated 4.8/5 from 120 reviews" on your website. Both use the same numbers.

{% hint style="info" %}
Review Schema and the Review Stats widget need a paid plan.
{% endhint %}

## Where to find them

Open your wall and click **Review Schema & Stats Snippet** in the left menu. Use **Copy Embed Code** for the review schema, and **Copy Review Stats Code** for the widget.

<figure><img src="https://2234661409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwC4Q7ClSbJAc9WcmAoGA%2Fuploads%2Fgit-blob-2635afc9ac251902273fb33e17818370e6fb4b06%2Ftool-review-schema.png?alt=media" alt="The Review Schema and Stats Snippet tab with the schema code, the Review Stats Widget preview and the copy buttons"><figcaption><p>Both snippets are on the Review Schema &#x26; Stats Snippet tab</p></figcaption></figure>

## How the numbers are calculated

* The count includes every testimonial on the wall: written, video and audio. Archived testimonials are counted too. Deleted ones aren't.
* **Testimonials without a star rating count as 5 stars.** If many of your testimonials have no rating, the average will be close to 5.
* The average is rounded to one decimal place.
* The widget updates automatically as your testimonials change.

## Good to know

* Paste the review schema code into the `<head>` section of your website. After that, it can take 2 to 4 weeks before search engines show star ratings in results, and it's up to them whether they show them at all.
* Check the snippet with the [Schema.org validator](https://validator.schema.org) after adding it.
* In the validator, the rating appears under the name "Famewall Review Snippet". This name can't be changed.
* If your plan changes to Free, the widget stops showing the rating and the schema is no longer added. Remove both snippets from your website.

## Related

* [Review Schema and Stats Snippet](/review-schema-and-stats-snippet.md)
* [How the average rating banner works](/testimonial-widget-settings/review-banner-average-rating.md)
