Skip to content
induwara.lk
Premium
induwara.lkStatistics · Method comparison

Bland-Altman Limits of Agreement Calculator

Paste two columns of paired measurements and get the bias, the 95% limits of agreement, their confidence intervals and the Bland-Altman difference-vs-mean plot. Free, no signup, and every calculation runs in your browser — your data never leaves the page.

By Induwara AshinsanaUpdated Jul 10, 2026
Bland-Altman analysislimits of agreement
Bland & Altman 1986/1999

10 values parsed

10 values parsed

DataOne number per line, or comma-separated.
Bias (mean diff)
2.00
Lower limit (−1.96 SD)
-1.20
Upper limit (+1.96 SD)
5.20
SD of differences
1.63
n = 10 pairs

Bland-Altman plot

+1.96 SD5.2Bias2−1.96 SD-1.290132Mean of both methodsDifference

Estimates & 95% confidence intervals

StatisticEstimate95% CI
Bias (mean difference)2.000.83 to 3.17
Upper limit of agreement (+1.96 SD)5.203.18 to 7.22
Lower limit of agreement (−1.96 SD)-1.20-3.22 to 0.82
SD of differences1.63
Sample size (n)10
t critical (0.975, n−1)2.262
Plain-language reading

On average, Method A reads 2.00 higher than Method B. About 95% of differences are expected to fall between -1.20 and 5.20 (the ±1.96 SD limits of agreement). Whether that spread is close enough is a clinical judgement, not a statistical one — compare the limits against a difference you decided was acceptable before collecting the data.

Method: Bland & Altman (Lancet 1986; Stat Methods Med Res 1999). Everything runs in your browser — your measurements never leave this page.

How it works

The Bland-Altman method answers a question correlation cannot: do two ways of measuring the same thing agree closely enough to be used interchangeably? It was introduced by J. Martin Bland and Douglas Altman in The Lancet in 1986 and is now the standard for method-comparison and device-validation studies. The calculator follows their original formulas exactly.

For n paired measurements, with each pair's difference dᵢ = Aᵢ − Bᵢ:

  1. Bias (mean difference): d̄ = (Σ dᵢ) / n. This is the systematic offset between the methods.
  2. Standard deviation of the differences: s_d = √( Σ(dᵢ − d̄)² / (n − 1) ), the sample SD with an n−1 denominator.
  3. 95% limits of agreement: d̄ ± 1.96·s_d. Roughly 95% of differences between the two methods are expected to fall inside this band. Use 2.58 for 99% limits.
  4. Confidence interval for the bias: d̄ ± t·(s_d/√n), where t is the Student-t value at n−1 degrees of freedom.
  5. Confidence interval for each limit: LoA ± t·s_d·√(3/n). A limit is estimated less precisely than the bias, so its interval is wider (Bland & Altman 1999).

The Student-t critical values are computed on the page from the regularized incomplete beta function and inverted by bisection, so no external statistics library is needed and any degrees of freedom are supported. As an internal check the standard deviation is also computed a second way — through the moment formula √((Σd² − n·d̄²)/(n−1)) — and both paths must agree. Percentage mode repeats every step on 100·(Aᵢ − Bᵢ)/((Aᵢ + Bᵢ)/2) to reveal proportional bias, where the disagreement grows with the size of the measurement. The limits are a prediction interval for a future difference — deciding whether that spread is acceptable is a clinical judgement made against a pre-specified threshold, not something the statistics decide for you.

Worked examples

Example 1 — pulse oximeter vs blood gas (n = 10)

  1. Differences A−B: 2, 4, 0, 2, 4, 0, 2, 4, 0, 2
  2. Bias d̄ = 20 / 10 = 2.00
  3. Σ(dᵢ − d̄)² = 24 → s_d = √(24/9) = 1.63
  4. 95% LoA = 2.00 ± 1.96 × 1.63 = [−1.20, +5.20]
  5. Bias 95% CI: t(0.975, 9) = 2.262, SE = 1.63/√10 = 0.516 → [0.83, 3.17]
  6. Upper-limit 95% CI: SE_LoA = 1.63·√(3/10) = 0.894 → [3.18, 7.22]

Example 2 — smaller study (n = 5)

  1. Differences: 1, 3, 2, 4, 5
  2. Bias d̄ = 15 / 5 = 3.00
  3. Σ(dᵢ − d̄)² = 10 → s_d = √(10/4) = 1.58
  4. 95% LoA = 3.00 ± 1.96 × 1.58 = [−0.10, +6.10]
  5. Bias 95% CI: t(0.975, 4) = 2.776, SE = 1.58/√5 = 0.707 → [1.04, 4.96]
  6. Wider limits than Example 1 — fewer pairs, larger t value.

Example 3 — identical methods (edge case, n = 3)

  1. Method A: 5, 5, 5 Method B: 5, 5, 5
  2. Every difference is 0 → bias = 0.00
  3. s_d = 0 → 95% LoA = 0 ± 0 = [0.00, 0.00]
  4. Every confidence interval is [0.00, 0.00] — no NaN, no error.
  5. Perfect agreement: both methods return the same reading each time.

Frequently asked questions

Sources & references

Related tools

Rate this tool
Be the first to rate

Comments & feedback

Spotted a bug or want an improvement? Tell us — our team reviews every comment, and good ideas get built. Comments are public and anonymous.

Found a bug, edge case, or want to suggest an improvement?

Email me at [email protected] — most fixes ship within 24 hours.