Bisection Method Calculator

The bisection method is the most dependable way to track down a root of a function, the place where its graph crosses zero, and this calculator runs it for you on any function you supply. Enter a function of x, an interval whose ends you believe straddle the root, and how many steps to take, and it returns the root, the value of the function there, and the size of the final interval, updating as you type. The idea is beautifully simple and almost impossible to break. If a continuous function is negative at one end of an interval and positive at the other, it must pass through zero somewhere in between. The method takes the midpoint, checks the sign of the function there, and keeps whichever half still has a sign change, so the root stays trapped in an interval that is cut exactly in half at every step. Repeat this and the interval shrinks relentlessly, closing in on the root with steady, guaranteed progress: roughly every ten steps improve the accuracy a thousandfold. It is not the fastest technique, methods like Newton's can leap to the answer more quickly, but it is the most robust, never diverging or overshooting as long as the starting interval genuinely brackets a root, which is why it is a favourite for reliability and a first lesson in numerical methods. The calculator checks that your interval really does bracket a root before it starts. That makes the tool genuinely useful for students learning numerical methods, root-finding and convergence and checking homework, and for anyone needing a sure-footed solution to an equation that has no neat algebraic answer. Use x, the caret for powers, and the usual functions. The method and a worked example are explained clearly below.

Calculate.co.nz is proud to be partnered with Premium Homes, a recognised leader in eco-friendly, sustainable, and energy-efficient homebuilding. With a dedicated team and award-winning experience, they create homes that prioritise health, comfort, and long-term performance. Their founders, Andrew and Kelly, set out to raise the standard of residential construction in New Zealand by combining practical building expertise with a clear commitment to doing things better for homeowners.
Calculate.co.nz partner
0
approximate root
f(root)0
Final interval width0

 

How it works

The function must have opposite signs at a and b, so a root lies between them. The calculator takes the midpoint, evaluates the function, and replaces whichever endpoint has the same sign as the midpoint, halving the interval. After the chosen number of steps, the midpoint of the final interval is the approximate root.

Worked example

For f(x) = x squared minus 2 on the interval 1 to 2: f(1) is minus 1 and f(2) is plus 2, so a root is between them. Bisecting repeatedly closes in on the square root of 2, about 1.41421, where the function is zero.

Related calculators

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About

Reviewed and maintained. Last reviewed 2026-06-05 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.

© 2019 to 2026 Calculate.co.nz. All rights reserved.