Enter your **current altitude**, **orbital velocity**, and **periapsis distance** into the calculator at right. Then, enter the **apoapsis distance** you want after aerobraking. The calculator will find a manoeuver to get you there.

The solution found by the calculator is in the form of an orbital manoeuver. Point your craft at the angle given by the calculator and thrust until the orbit periapsis matches that given by the solution. Your orbital velocity should not significantly change.

**Note on the angles:** Angles are measured from the top of the navball. The direction in which to thrust will always be directly between the prograde and retrograde markers (i.e. perpendicular to your direction of travel.)

Before running the calculator, adjust your orbit so that the periapsis is **slightly above** the atmosphere of the target body. In some cases, if your periapsis is too deep within the planet's atmosphere, the calculator has trouble finding a solution.

The calculator will probably not work for ships with lift surfaces, because the lift force depends on the craft's orientation in the atmosphere. Lift forces are not considered.

Sometimes, when coming out of timewarp, the periapsis will jump around a bit, potentially messing up the aerobraking manoeuver. If this happens, just re-run the calculator with the new orbit data to determine the required course correction.

This calculator searches for constant-velocity manoeuvers that, after aerobraking, result in an orbit with the desired apoapsis. This is done by fixing the current altitude and velocity, and varying the periapsis of the orbit. The periapsis resulting in the desired orbit is then calculated.

Given a current altitude, orbital velocity, and periapsis, we have enough information to resolve the orbit of the ship (there are some ambiguities in orientation, but they do not matter for this problem). The point of intersection of this orbit with the atmosphere and the velocity of the ship at that point are calculated. Using these data, the trajectory in the atmosphere is determined using numerical methods. The velocity at which the ship escapes the atmosphere is found, and used to compute the new orbit.

- Why isn't the mass of the ship needed?
- This is an artifact of the (unrealistic) drag model in KSP at the moment. Both the gravitational and drag forces are proportional to mass. As a result, the acceleration (and therefore the path of the ship, neglecting lift, in the atmosphere) is
**independent**of mass.*Note: In the real world, aerodynamic drag is not proportional to mass.* - When can I use 0.2 as the drag coefficient?
- For most ships, the drag coefficient is very close to 0.2. This is because most parts in the game have a drag coefficient of 0.2. Those that do not (for instance, docking ports), tend to have a small mass and therefore do not significantly alter the drag coefficient. However, if using modded parts (or if your ship's mass is largely made up of docking ports), you'll want to calculate the drag coefficient for your ship. This can be done following the methods here.