ML Engineering Tools
Precision-Recall-F1 Calculator
Enter precision and recall as fractions from 0 to 1. Compute F1 and F-beta with a finite nonnegative beta; beta 0 is the precision-only limit. Both-zero precision and recall are rejected explicitly.
Calculations run locally in your browserTool
Example β Precision 0.85 Β· Recall 0.72 Β· Ξ² 1
Precision
85.0%
TP/(TP+FP)
Recall
72.0%
TP/(TP+FN)
F1 Score
78.0%
Ξ²=1 (equal weight)
F1 Score
78.0%
equal weight
About this tool
Precision-Recall-F1 Calculator
The Precision-Recall F1 Calculator computes F1 and F-beta from supplied metrics; it does not calculate class averages or a threshold curve.
β’ Calculate F-beta when recall matters more than precision
β’ Compare F1 values from known precision and recall
β’ Explore finite beta weights for a supplied metric pair
β’ Check a zero precision or recall boundary with an explicit convention
Next step
Batch Size Memory Calculator β Calculate GPU memory for training from model size, precision, and optimizer.
Open Batch Size Memory Calculator β
FAQ
What does this tool tell you?
The Precision-Recall F1 Calculator computes F1 and F-beta from supplied metrics; it does not calculate class averages or a threshold curve.
What affects the result most?
Precision and recall inputs are fractions from 0 to 1. F1 = 2 Γ precision Γ recall / (precision + recall). F-beta above 1 weights recall more heavily; below 1 weights precision more heavily.
How should I use the result?
The calculation is deterministic β the same inputs always produce the same output β so the most useful workflow is to vary one input at a time and see which factor moves the result most. That tells you where to focus your attention before committing to a decision.
Related tools