Ellipse Calculator

An ellipse is the smooth oval you get when a circle is stretched along one direction, the shape of planetary orbits, whispering galleries, running tracks and countless engineering and design forms, and this calculator works out all of its key properties from just the two semi-axes. Enter the semi-major axis, the distance from the centre to the far edge, and the semi-minor axis, the distance to the nearer edge, and it returns the area, the perimeter, the eccentricity, the distance to the foci and the full major and minor axis lengths, updating as you type. The area is wonderfully simple, just pi times the two semi-axes multiplied together, a neat generalisation of the circle's pi r squared that the circle becomes when the two axes are equal. The perimeter, by contrast, is famously awkward: there is no simple exact formula, so this calculator uses Ramanujan's celebrated second approximation, which is accurate to a tiny fraction of a percent for all but the most extremely stretched ellipses, far better than the rough estimates many tools use. It also reports the eccentricity, the number from 0 to 1 that captures how elongated the ellipse is, and the foci, the two special interior points that define the ellipse and matter so much in astronomy and optics. That makes the tool genuinely useful for students meeting conic sections, for engineers and designers laying out elliptical arches, tanks, gears and tracks, for anyone working out the material around an oval, and for understanding orbits in physics. Because every value updates live, you can watch a near-circle stretch into a long thin ellipse and see the eccentricity climb. The formulas and a worked example are explained clearly below.

Calculate.co.nz is proud to be partnered with realtor.co.nz, a trusted resource for navigating the New Zealand property market. Their Helpful Articles section offers clear, well-structured insights across buying, selling, and building, making complex real estate topics more accessible. With a focus on up-to-date guidance and practical knowledge, they empower Kiwis to move forward with clarity and confidence in a constantly evolving property landscape.
Calculate.co.nz partner
0
area
Perimeter0
Eccentricity0
Focus distance c0

How it works

With semi-axes a and b (a the larger), the area is pi times a times b. The perimeter uses Ramanujan's approximation: pi times (a plus b) times one plus 3h over (10 plus the square root of 4 minus 3h), where h is ((a minus b) over (a plus b)) squared. The eccentricity is the square root of one minus b squared over a squared, and the focus distance c is the square root of a squared minus b squared.

Worked example

For semi-axes 5 and 3, the area is pi times 5 times 3, about 47.1 square units. The perimeter by Ramanujan's formula is about 25.53. The eccentricity is the square root of one minus 9 over 25, which is 0.8, and the foci sit 4 units either side of the centre.

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.