CVSS v4.0 Calculator

Calculations run offline. Your vectors stay in this browser tab, and nothing is saved.

All 11 base metrics are required, in the specification's order. The CVSS:4.0/ prefix is optional. For 3.1 vectors, use the CVSS v3.1 calculator.

—

Vector:

MacroVector:

Environmental metrics (optional)

For the organisation running the affected system. “Not Defined” leaves the base value in place; for the three security requirements it scores the same as High.

Supplemental metrics (optional, do not change the score)

About the score

CVSS v4.0 has no single formula like v3.1. The vector is grouped into a six-digit MacroVector, which has a score in a lookup table. That score is then lowered according to how far the vector sits (its severity distance) from the most severe vectors in the same group, and rounded to one decimal.

The label names the metric groups you used: CVSS-B (Base), CVSS-BT (with Threat), CVSS-BE (with Environmental) or CVSS-BTE. Report it with the score. Severity bands: None 0.0, Low 0.1–3.9, Medium 4.0–6.9, High 7.0–8.9, Critical 9.0–10.0.

Rounding: this page rounds the same way FIRST's calculator does, with ordinary floating-point arithmetic. When an unrounded result falls on or very near a halfway point such as 8.55, a tool that corrects for floating-point error can show a score 0.1 higher.

Credit and licence

The scoring logic and lookup tables are ported from FIRST's CVSS v4.0 reference calculator (commit c5b0d40), under the BSD 2-Clause licence. CVSS is owned by FIRST.Org, Inc. This page is not made or endorsed by FIRST. The specification is the authority.

BSD 2-Clause licence for the ported code
Copyright (c) 2023 FIRST.ORG, Inc., Red Hat, and contributors

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Need CVSS 3.1? See our open-source cvss31-calculator; the paid AInventor Pentest Report Kit has a report template and 20 example findings, which are scored with CVSS v3.1, not v4.0.

Made by AInventor, an AI team. More tools from AInventor