Subject overview
Kepler’s Laws
Explore elliptical orbits, equal swept areas and orbital periods with inverse calculators and a rotating 3D cone-section model.
01 First Law — Elliptical Orbits
Variables
- semi-major axis
- mmeter
- semi-minor axis
- mmeter
- orbital eccentricity
- 1dimensionless
- centre-to-focus distance
- mmeter
- semi-latus rectum
- mmeter
- periapsis distance
- mmeter
- apoapsis distance
- mmeter
- ellipse area
- m²square meter
- point coordinate relative to ellipse centre (X)
- mmeter
- point coordinate relative to ellipse centre (Y)
- mmeter
- point coordinate relative to focus (x)
- mmeter
- point coordinate relative to focus (y)
- mmeter
- distance of the point from the attracting focus
- mmeter
- polar angle from periapsis on the positive x-axis
- radradian
- auxiliary cone height of the point
- mmeter
Key Formulas
A bound Newtonian two-body orbit is an ellipse with the attracting focus at the origin of the relative orbit. For a planet much lighter than its star, the star is approximately stationary at that focus. Enter known ellipse and point quantities; a ≥ b > 0 and 0 ≤ ε < 1. ε = 0 is a circle. Parabolic and hyperbolic trajectories are outside this model.
Prerequisites: algebra and SI unit conversion.
Input domains: semi-major axis: > 0; semi-minor axis: > 0; orbital eccentricity: 0 ≤ ε < 1.
Enter any known ellipse or point quantities and leave unknown values blank. Signed coordinates refer to the same point. X = x + c and Y = y; periapsis lies on the positive x-axis. The cone construction uses the upper cone, so z = r > 0. Polar angles are equivalent modulo 360°. Missing point coordinates may have multiple solutions; a circle does not determine an angle from radius alone. No scale or angle is assumed.
Use positive ellipse lengths, radius and area, a non-negative focus distance and 0 ≤ ε < 1. Coordinates and polar angle may be signed.
Requires geometry and trigonometry. In the supplied Desmos orientation, periapsis is on +x, the attracting focus is (0,0), and the ellipse centre is (−aε,0). Thus X = x + aε and Y = y. The spatial cone section is a construction: its horizontal projection obeys the displayed orbital equation.
Calculate
Numbers or expressions: (), +, -, *, /, ^. Prefixes: 1.5k, 250m, 20u. Results: 3 significant figures. Input help
P₀ and P₁ mark t₀ = t₁ − Δt and t₁. The shaded area is swept during Δt; ΔA/A = Δt/T. Times are fractions of a period. M is mean anomaly, E eccentric anomaly and ε eccentricity. The period is not inferred from the ellipse size alone.
Drag to rotate, or focus the drawing and use the arrow keys. Home resets the view.
Enter any known ellipse or point quantities and leave unknown values blank. Signed coordinates refer to the same point. X = x + c and Y = y; periapsis lies on the positive x-axis. The cone construction uses the upper cone, so z = r > 0. Polar angles are equivalent modulo 360°. Missing point coordinates may have multiple solutions; a circle does not determine an angle from radius alone. No scale or angle is assumed.
02 Second Law — Equal Areas in Equal Times
Variables
- first swept area
- m²square meter
- first elapsed interval
- ssecond
- second swept area
- m²square meter
- second elapsed interval
- ssecond
- constant areal velocity
- m²/ssquare meters per second
- mean anomaly
- radradian
- eccentric anomaly
- radradian
- specific angular momentum magnitude
- m²/ssquare meters per second
Key Formulas
Areas are swept by the radius vector from the attracting focus, not the ellipse centre. In the same bound orbit, A₁/t₁ = A₂/t₂ is constant because angular momentum is conserved. Equal positive time intervals give equal positive areas; speed is greater near periapsis. Enter any three values. The illustration scales the two areas in their calculated ratio, while orbit size and eccentricity remain schematic.
Prerequisites: algebra and SI unit conversion.
Input domains: first swept area: > 0; first elapsed interval: > 0; second swept area: > 0; second elapsed interval: > 0.
M is mean anomaly, E eccentric anomaly, and ε eccentricity. The displayed phase is t/T measured from periapsis. The phase plot solves the monotone Kepler equation rather than assuming uniform angular motion.
Calculate
Numbers or expressions: (), +, -, *, /, ^. Prefixes: 1.5k, 250m, 20u. Results: 3 significant figures. Input help
Leave one model quantity empty; enter the others to calculate it.
The slider advances time uniformly. The orbiting point moves faster near the attracting focus.
The shaded sectors start near periapsis and apoapsis. Their areas follow A₁:A₂; their time intervals have the same ratio. Equal intervals produce equal areas. Orbit size and eccentricity are illustrative.
Areas are swept by the radius vector from the attracting focus, not the ellipse centre. In the same bound orbit, A₁/t₁ = A₂/t₂ is constant because angular momentum is conserved. Equal positive time intervals give equal positive areas; speed is greater near periapsis. Enter any three values. The illustration scales the two areas in their calculated ratio, while orbit size and eccentricity remain schematic.
03 Third Law — Orbital Period
Variables
- orbital period of orbit 1
- ssecond
- relative semi-major axis of orbit 1
- mmeter
- orbital period of orbit 2
- ssecond
- relative semi-major axis of orbit 2
- mmeter
- total mass of both bodies
- kgkilogram
- central body mass
- kgkilogram
- companion body mass
- kgkilogram
- period ratio (orbit 2 / orbit 1)
- 1dimensionless
- semi-major-axis ratio (orbit 2 / orbit 1)
- 1dimensionless
- Newtonian gravitational constant
- m³/(kg s²)cubic meters per kilogram second squared
Key Formulas
Isolated Newtonian two-body system in a bound orbit; G = 6.67430 × 10⁻¹¹ m³/(kg s²). The total mass is M + m, and a is the semi-major axis of their relative separation, not either individual barycentric orbit. If m ≪ M, total mass may be approximated by the central mass. Use any known orbit or mass quantities; all must be positive. For orbits around the same total mass, T₁²/a₁³ = T₂²/a₂³. Eccentricity does not change the period at fixed a and mass.
Prerequisites: algebra and SI unit conversion.
Input domains: orbital period: > 0; semi-major axis of relative orbit: > 0; total mass of both bodies: > 0.
Both compared orbits share the same total mass, equal to M + m. Semi-major axes describe the relative separation of the two bodies. All input quantities are positive. A missing individual mass is not assumed to be zero; the total mass alone does not determine the two individual masses. The gravitational constant G is fixed at 6.67430 × 10⁻¹¹ m³/(kg s²).
Calculate
Numbers or expressions: (), +, -, *, /, ^. Prefixes: 1.5k, 250m, 20u. Results: 3 significant figures. Input help
Schematic proportionality T ∝ a^(3/2). Enter orbit measurements to show the known relative positions.
Both compared orbits share the same total mass, equal to M + m. Semi-major axes describe the relative separation of the two bodies. All input quantities are positive. A missing individual mass is not assumed to be zero; the total mass alone does not determine the two individual masses. The gravitational constant G is fixed at 6.67430 × 10⁻¹¹ m³/(kg s²).