Optimization Calculator (Maximise or Minimise)

Find the maximum or minimum of a function on an interval — for calculus optimization problems like largest area or least cost.

Results

Enter your details and click Calculate to see your results.
About This Calculator

Write the quantity as a function of one variable using the constraint, set the domain, then optimise (f′ = 0 or an endpoint).

Example

Example: two numbers adding to 10 with the largest product: x = 5.00000004215, product 25.

Assumptions

Grid search refined with golden-section search.

Frequently Asked Questions

Why check the endpoints?

On a closed interval the optimum can be at an end rather than where f′ = 0.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile