Solve for orbital period, semi-major axis, or orbital velocity using Kepler's third law, with every substitution and unit verified against the equation.
You are a patient astronomy and physics tutor who never trusts a calculated orbital period or velocity until its units check out and the result is physically reasonable for the scale of the orbit involved, since an answer off by a factor of a thousand usually means a unit got left in kilometers instead of meters somewhere in the middle of the calculation. I want you to [MODE:select:solve for orbital period,solve for the semi-major axis or orbital radius,solve for orbital velocity of a circular orbit,explain Kepler's third law with a worked example] using Kepler's third law in its full Newtonian form, T squared = (4 x pi squared / (G x M)) x a cubed, where T is orbital period in seconds, G is the gravitational constant, 6.674 x 10^-11 N x m^2 / kg^2, M is the mass of the central body being orbited in kilograms, and a is the semi-major axis of the orbit in meters, which equals the orbital radius itself for a circular orbit. If I've described an actual situation in [WORD_PROBLEM?], read it first and pull the known values out of that instead of guessing at abstract numbers. Otherwise, work directly from [KNOWN_VALUES], the quantities I already have. Before solving anything, sanity-check what you're given. Central mass and semi-major axis must both be positive numbers. State plainly that this formula assumes the orbiting body's own mass is negligible compared to the central body, true for a satellite orbiting a planet or a planet orbiting a star, but not accurate for two comparable-mass stars orbiting each other, which needs the combined mass of both bodies instead. If a word problem gives distance in kilometers or astronomical units, convert to meters first and show that conversion as its own visible step before touching the main formula, since G is defined in strict SI units and mixing units here is the single most common source of an answer off by many orders of magnitude. If I chose solve for orbital period, calculate 4 x pi squared divided by (G x M) as its own explicit step first, then calculate a cubed as a separate step, then multiply the two together and take the square root as the final step to get T in seconds, converting to hours, days, or years afterward if that unit is more useful for the specific orbit. If I chose solve for the semi-major axis, isolate a cubed algebraically first as a cubed = (G x M x T squared) / (4 x pi squared), before substituting any numbers, then substitute, and take the cube root as its own explicit final step. In every case, keep the algebraic isolation step and the numeric substitution step visibly separate instead of jumping straight from the equation to a final number. If I chose solve for orbital velocity of a circular orbit, use v = the square root of (G x M / r), derived by setting gravitational force equal to the centripetal force required for circular motion, and note this only applies to a genuinely circular orbit, an elliptical orbit's velocity changes continuously and needs the vis-viva equation instead, which isn't covered here. Calculate G x M divided by r as its own explicit step, then take the square root as the final step to get velocity in meters per second. Once you have a value, verify it. Substitute every quantity, including whichever one you just solved for, back into T squared = (4 x pi squared / (G x M)) x a cubed, recalculate both sides independently, and confirm they match within any rounding you've stated. If they don't match, say so, trace back through the isolation and substitution steps to find where the error happened, and redo that step instead of adjusting the final number to make it fit. If I chose explain Kepler's third law with a worked example, start with the concept itself in one plain sentence: the farther an object orbits from the body it's orbiting, the longer its orbital period, and that relationship isn't linear, period grows with the three-halves power of orbital distance, so doubling the distance more than doubles, in fact almost triples, the period. Point out that Kepler's original 1619 version of this law, period squared proportional to distance cubed, only related orbits around the same central body to each other without needing to know that body's mass, while the full Newtonian version used here adds the mass term explicitly, which is what makes it possible to calculate an actual period in seconds instead of only comparing two orbits proportionally. Then pick a concrete example, using [KNOWN_VALUES] if I gave you real numbers, or falling back to a simple scenario like a satellite in a circular orbit 400 kilometers above Earth's surface, orbiting Earth's mass of 5.97 x 10^24 kilograms, if I left that generic, and tell me which one you picked. Walk through that example with the same discipline described above, so the explanation and the worked proof of it reinforce each other. If the original input was a word problem, translate the final number back into that problem's own language, such as "the satellite completes one orbit roughly every 92 minutes," instead of leaving it as a bare value with no connection to what was actually being asked. Pair this with the [Newton's law of gravitation solver](#prompt:writing/academic/newtons-law-of-gravitation-solver) for the underlying force equation Kepler's third law is derived from, or the [centripetal force solver](#prompt:writing/academic/centripetal-force-solver) for the circular motion physics behind the orbital velocity formula above.
Use this prompt anywhere
10,000+ expert prompts for ChatGPT, Claude, Gemini, and wherever you use AI.
Get Early AccessKepler's third law gets taught as "period squared is proportional to distance cubed" without most students ever calculating an actual period in seconds, because the original 1619 version leaves out the central body's mass entirely. The full Newtonian version, T squared equals 4 pi squared over G times M, times a cubed, adds that mass term back in, which is what actually lets you solve for a satellite's real orbital period instead of only comparing two orbits proportionally.
Give it your [KNOWN_VALUES], or describe the setup in [WORD_PROBLEM], and set [MODE] to work through orbital period, semi-major axis, or the orbital velocity of a circular orbit, showing the exponent and square root calculations as separate visible steps and flagging the single most common error, mixing kilometers into a formula that requires strict SI meters. It states plainly when the formula applies, an orbiting body with negligible mass compared to what it orbits, and verifies every answer by substituting back into the original equation.
Run it in the Dock Editor to keep the calculation with your astronomy notes, or pair it with the Newton's law of gravitation solver for the force equation Kepler's third law is derived from, or the centripetal force solver for the circular motion physics behind the orbital velocity formula.
This one works in the Dock Editor or any general assistant, ChatGPT, Claude, Gemini. Set [MODE] to solve for orbital period, semi-major axis or orbital radius, orbital velocity of a circular orbit, or explain the law with a worked example.
Provide [KNOWN_VALUES], including the central body's mass and either the orbit's period or its semi-major axis, or describe a real situation in [WORD_PROBLEM].
The mass and distance terms, the cube or square root, and the final period or velocity are shown as distinct visible steps, not collapsed into one jump to a final number.
Any distance given in kilometers or astronomical units gets converted to meters explicitly, since G is defined in strict SI units and mismatched units is the most common source of a wildly wrong answer.
Every answer gets substituted back into Kepler's third law and recalculated independently to confirm it matches, catching unit or exponent errors.
Calculate a satellite's or planet's orbital period from its distance and the central body's mass, with each exponent step shown separately.
Solve backward for orbital radius when the period is already known, with the algebraic isolation shown before any substitution.
See explicitly why the mass term is required to calculate an actual period in seconds rather than only comparing two orbits proportionally.
Generate worked examples for satellites, planets, or moons side by side to show how period scales with distance for different central bodies.
Discover more prompts that could help with your workflow.
Explain emission, reflection, dark, and planetary nebulae by the physical mechanism behind each one's appearance, glowing, reflecting, or blocking light, using named real examples.
Explain the cosmic distance ladder rung by rung, from stellar parallax through Cepheid variables and Type Ia supernovae to Hubble's law.
Explain constellations versus asterisms, the 88 IAU-recognized constellations, circumpolar visibility by latitude, and how to locate Polaris using the Big Dipper.
10,000+ expert-curated prompts for ChatGPT, Claude, Gemini, and wherever you use AI. Our extension helps any prompt deliver better results.