Critical Points Calculator

Critical points are the places where a curve momentarily stops rising or falling, the peaks, valleys and level spots that shape the whole graph of a function, and this calculator finds them on any interval you choose and tells you what each one is. Enter a function of x and the range of x-values to search, and it returns every critical point it finds, with the x-value, the function value there, and a classification as a local maximum, a local minimum or an inflection-type point, all updating as you type. A critical point is an x-value where the derivative is zero, meaning the tangent to the curve is horizontal, and these are exactly the candidates for the highest and lowest values a function reaches, which is why they sit at the heart of curve sketching and of optimisation problems across science, engineering, economics and everyday decision-making. To classify each one the calculator uses the second derivative test: where the curve is bending upwards the point is a minimum, where it bends downwards it is a maximum, and where the bending vanishes the result is flagged as inconclusive, often an inflection. The tool works numerically, scanning the interval for places where the derivative changes sign, pinning each down precisely, and then checking the curvature, so it handles any function you type, with the caret for powers and the usual sin, cos, sqrt, exp and ln. That makes it genuinely useful for calculus students learning stationary points and the second derivative test and checking homework, for anyone sketching a graph, and for finding the maximum or minimum of a real quantity described by a formula. Because the results refresh live, you can widen the search range or change the function and immediately see the turning points appear and shift. The method and a worked example are explained clearly below.

Calculate.co.nz is proud to be partnered with Health Based Building, a leader in sustainable and health-conscious building innovation. With over a century of experience, they develop high-performance systems like Foreverbreathe Specification, Magnum Board, and Foreverbreathe Paints to support energy-efficient, non-toxic living environments. Their commitment to healthier homes aligns with our belief that informed choices lead to better outcomes for Kiwi households.
Calculate.co.nz partner
xf(x)Type

Use x, ^ for powers, * for multiply, and functions like sin, cos, sqrt, exp, ln. Derivatives are computed numerically; very flat functions may need a wider range.

How it works

The calculator estimates the derivative with a central difference and scans the interval for places where it changes sign, which marks a horizontal tangent. Each sign change is refined by bisection to locate the critical point. The second derivative is then checked: positive means a local minimum, negative a local maximum, and near zero the test is inconclusive, often an inflection.

Worked example

For f(x) = x cubed minus 3x: the derivative 3x squared minus 3 is zero at x = minus 1 and x = plus 1. The second derivative 6x is minus 6 at x = minus 1 (a local maximum, where f = 2) and plus 6 at x = plus 1 (a local minimum, where f = minus 2).

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.