Home / F1 Score Calculator

F1 Score Calculator

F1 combines precision and recall into one harmonic-mean score for positive predictions. It is commonly used when false positives and false negatives both matter.

How to use this calculator

  1. Enter integer true-positive, false-positive and false-negative counts.
  2. Check that all inputs use the same units, period and population scope.
  3. Change one assumption at a time when comparing scenarios.

Formula used by f1 score calculator calculator

Precision = TP/(TP+FP); recall = TP/(TP+FN); F1 = 2TP/(2TP+FP+FN).

  • Precision = TP/(TP+FP); recall = TP/(TP+FN); F1 = 2TP/(2TP+FP+FN).
  • F1 ignores true negatives and does not represent calibrated probabilities. Choose metrics aligned to actual error costs and prevalence.
  • The tool validates inputs and rounds displayed figures for readability; it does not validate assumptions against external records.

Worked examples

Worked example

There are 80 true positives, 20 false positives and 15 false negatives.

F1 = 160 ÷ (160 + 20 + 15) ≈ 0.8205.

The F1 score is approximately 0.8205.

Understanding the result

F1 combines precision and recall into one harmonic-mean score for positive predictions. It is commonly used when false positives and false negatives both matter.

F1 ignores true negatives and does not represent calibrated probabilities. Choose metrics aligned to actual error costs and prevalence.

Important notes

F1 ignores true negatives and does not represent calibrated probabilities. Choose metrics aligned to actual error costs and prevalence.

Treat the result as an estimate from the entered assumptions. For commercial, statistical, engineering or health-related decisions, verify relevant specifications and professional guidance.

Frequently asked questions

Can F1 be a percentage?

It ranges from 0 to 1; multiplying by 100 expresses it as a percentage-like score.

Can F1 replace precision and recall?

It compresses them into one measure, but both underlying values should still be reviewed.

How should I interpret this result?

F1 ignores true negatives and does not represent calibrated probabilities. Choose metrics aligned to actual error costs and prevalence.

Related calculators

  • Z-Score Calculator — Calculate the z-score of a value using its mean and standard deviation.
  • Weighted Score Calculator — Calculate a weighted average from matching score and weight lists.
  • 2×2 Matrix Calculator — Add, subtract and multiply 2×2 matrices and calculate each determinant with transparent row and column inputs.
  • Circle Calculator — Calculate circle area, circumference, and diameter from radius.
  • Pythagorean Theorem Calculator — Find the hypotenuse of a right triangle from the two perpendicular sides.
  • Root Mean Square Error Calculator — Compare observed and predicted numeric sequences using root mean square error, mean squared error and count of observations.

Related explanations

Learn the method behind the number or compare the terminology before using the calculator.

  • How to Calculate a Z-Score — Learn how a z-score shows how far a value is from the mean in standard-deviation units.
  • How to Calculate Salary from an Hourly Rate — Convert hourly pay into weekly, monthly, and annual estimates and understand the assumptions behind the result.
  • Z-Score — Learn what a z-score measures and how it describes a value relative to a mean and standard deviation.

This page provides a calculation tool plus explanatory information so you can understand what the result means and when the underlying method may not fit your situation.

Explore more calculation resources

Keep exploring related tools, explanations, conversions, and topic pages in The Calc Studio. These links are selected around the subject of this page so you can move to the next useful calculation without returning to search.

Related calculators

  • Z-Score Calculator — Calculate the z-score of a value using its mean and standard deviation.
  • Weighted Score Calculator — Calculate a weighted average from matching score and weight lists.
  • Test Grade Calculator — Calculate the score needed on a final assessment to reach a target overall grade.
  • Circle Calculator — Calculate circle area, circumference, and diameter from radius.
  • 2×2 Matrix Calculator — Add, subtract and multiply 2×2 matrices and calculate each determinant with transparent row and column inputs.
  • Pythagorean Theorem Calculator — Find the hypotenuse of a right triangle from the two perpendicular sides.
Browse by categoryMath CalculatorsFinancial CalculatorsBusiness CalculatorsDate & Time CalculatorsHealth & Fitness CalculatorsScience & Electronics Calculators

Task collections

  • Calculators for Students — Free student calculators for grades, percentages, fractions, probability, normal distributions, matrices, vectors, complex numbers, statistics, geometry, and scientific math.
  • Math & Statistics Calculators — Free math and statistics calculators for Bayes theorem, set operations, matrices, complex numbers, vector products, normal distributions, averages, percentages, standard deviation, geometry, equations, and number systems.
  • Home Project Calculators — Free home and construction calculators for square footage, roofing, stairs, tile, concrete, framing stud counts, steel plate weight, siding, countertops, insulation, and material estimates.
  • Business & Work Calculators — Free business and work calculators for ROI, markup, break-even, sales commission, DSO/DPO, customer-acquisition payback, weighted sales pipelines, labour cost per unit, FTE staffing, email growth, and creator RPM.

Related guides

  • How to Calculate a Z-Score — Learn how a z-score shows how far a value is from the mean in standard-deviation units.
  • How to Calculate Salary from an Hourly Rate — Convert hourly pay into weekly, monthly, and annual estimates and understand the assumptions behind the result.
  • How to Calculate Age from a Date of Birth — Learn how exact age is calculated using years, months, and days rather than a rough year difference.

Related terms

  • Z-Score — Learn what a z-score measures and how it describes a value relative to a mean and standard deviation.
  • Return on Investment (ROI) — Understand ROI, the basic ROI formula, and how to interpret a positive or negative return.
  • Discount — Understand discounts, percent-off pricing, and how to calculate the amount saved and the final price.

Useful conversions

  • °C to °F — Convert Celsius to Fahrenheit with a free temperature converter, formula, examples, and common temperatures.
  • °F to °C — Convert Fahrenheit to Celsius with a free temperature converter, formula, examples, and common temperatures.
  • cm to feet — Convert centimeters to feet with a free cm to feet converter, formula, examples, and a quick reference table.

Browse all calculators · Read all guides · Open the glossary · See all converters · Browse collections

Want to keep learning? Move from a calculator to its formula guide, glossary definition, unit conversion, or task collection to compare related methods and tools.

Optional Premium: save calculation history across visits and remove promotional blocks. See Premium.