Bisection Method Calculator

Enter a function f(x) and an interval [a, b] to find its root step-by-step using the bisection method.

Function & Interval

Use ^ for power, * for multiply, sqrt(), sin(), cos(), ln(), exp(), PI

Quick Examples

Enter a function and interval, then click Find Root.

Copied!

Summary

Enter a function f(x) and an interval [a, b] to find its root step-by-step using the bisection method.

How it works

  1. Enter a function of x in standard math notation (e.g. x^3 - x - 2).
  2. Set the lower bound a and upper bound b of the search interval.
  3. Choose a tolerance (acceptable error, e.g. 0.0001).
  4. The calculator checks that f(a) and f(b) have opposite signs (a root must exist).
  5. Each iteration computes the midpoint c = (a + b) / 2 and evaluates f(c).
  6. The interval is halved based on the sign of f(c) until the error is within tolerance.

Use cases

  • Solve equations like x^3 - x - 2 = 0 numerically.
  • Verify root-finding homework with a full iteration trace.
  • Learn how the bisection algorithm converges step by step.
  • Find roots of transcendental equations such as cos(x) - x = 0.
  • Check convergence rate and number of iterations needed for a given tolerance.
  • Explore how interval width affects convergence speed.

Frequently Asked Questions

Last updated: 2026-06-10 · Reviewed by Nham Vu