---
title: "How does Web Governance calculate my policy compliance percentage?"
date: "2025-03-03T10:01:21+00:00"
summary: "Learn how Web Governance calculates policy compliance scores, including the formula and examples for accurate performance tracking."
image:
type: "article"
url: "/web-governance/help/61686-how-does-web-governance-calculate-my-policy-compliance-percentage"
id: "52b05770-8e11-4abf-9ab6-cb7a3b335573"
---

This article provides advanced information on how the Policy score is calculated in Acquia Web Governance.

The Policy compliance score is essentially the average taken from the compliance percentage of each policy that is applied for the domain.

The policy compliance percentage calculation of a domain that is displayed on the Domain Overview and Compliance Trends reports as well as within the policy module are calculated in the same way.

The platform calculates the compliance percentage of each policy that is applied for the domain and then calculates the average of all policies. Each policy can be applied to a link or a page, so to calculate a policy violation, the formula is:

    (1.0 - (match_count.to_f / total_count)) * 100

match\_count is the number of violations such as links or pages that match the parameters for a specific policy.

For example, a domain has a policy to find images larger than 10MB. The domain has 100 images, and 5 of them are larger tan 10MB. In this example, the match\_count is 5 and the total\_count is 100.

The resulting score calculation is:

    (1.0 - (5.to_f / 100)) * 100 (1.0 - 0.05) * 100 (0.95) * 100 95%