Calculatorism

MCC Calculator

Compute MCC from the confusion matrix (TP, FP, TN, FN).

Input Data

Input True positive TP.
Input False positive FP.
Input True negative TN.
Input False negative FN.

Results

0.703526
MCC = (TP·TN − FP·FN) / √(…).

At a glance:MCC Calculator: enter parameters to compute results; complements related calculators.

Formula

MCC = (TP·TN − FP·FN) / √[(TP+FP)(TP+FN)(TN+FP)(TN+FN)].

How to Use

  1. Enter the four confusion-matrix cells.
  2. It returns MCC.

Case Studies

TP=80,FP=10,TN=90,FN=20 → MCC≈0.704

MCC = 7000/√99000000 ≈ 0.7036.

FAQ

MCC vs F1?

MCC uses all four cells and is more reliable than F1 under imbalance.

Related Tools

References

Content review: Calculatorism Science Team. Formula and numeric tests verified; results for reference only.

Found a problem with the results?

If this calculator's result is wrong, or you have any question about the calculation logic, please let us know. You are viewing:MCC Calculator/statistics/matthews-correlation)。