Exoplanet transit light-curve simulator

See how a planet's size and orbit shape a transit light curve, with limb darkening and optional noise.

A planet transiting its star Top: a planet crosses in front of a limb-darkened star. Bottom: the star's measured brightness dips while the planet is in front of it. brightness time depth ≈ (Rp/R★)²
When a planet crosses its star, the starlight dips by about the planet-to-star area ratio.

What’s happening

When a planet passes in front of its star, it blocks a small part of the stellar disk and the star’s measured brightness dips. If the planet’s radius is RpR_p and the star’s is R⋆R_\star, the fraction of light blocked is roughly the ratio of their areas:

δ≈(RpR⋆)2=k2.\delta \approx \left(\frac{R_p}{R_\star}\right)^2 = k^2.

How long the dip lasts depends on the orbit. For a circular orbit with period PP, scaled distance a/R⋆a/R_\star and impact parameter bb (how far from the centre of the disk the planet crosses, in units of R⋆R_\star), the inclination is cos⁡i=b / (a/R⋆)\cos i = b\,/\,(a/R_\star) and the total transit duration is

T14=Pπ arcsin⁡ ⁣(R⋆a (1+k)2−b2sin⁡i).T_{14} = \frac{P}{\pi}\,\arcsin\!\left(\frac{R_\star}{a}\,\frac{\sqrt{(1+k)^2 - b^2}}{\sin i}\right).

Replacing (1+k)2(1+k)^2 with (1−k)2(1-k)^2 gives T23T_{23}, the time the planet is fully inside the disk. If b>1−kb > 1-k the planet never fits fully inside the disk: the transit is grazing and T23T_{23} doesn’t exist.

Assumptions and limits. Circular orbit; the planet is dark; the star is a uniform disk. Real stars are dimmer at the edge (limb darkening), which rounds the bottom of the dip and makes the depth depend slightly on bb. The interactive version will include limb darkening.

Try this

  1. Earth seen from far away. With R⊕=6371R_\oplus = 6371 km and R⊙=695 700R_\odot = 695\,700 km, what transit depth would an alien astronomer measure for Earth?
    Answerk=0.00916k = 0.00916, so δ=k2≈84\delta = k^2 \approx 84 ppm — less than 0.01%.
  2. A hot Jupiter. Repeat for Jupiter (RJ=71 492R_\mathrm{J} = 71\,492 km) around the Sun.
    Answerk=0.103k = 0.103, δ≈1.06%\delta \approx 1.06\% — over 100 times deeper than Earth’s transit.
  3. Duration. A planet has P=3P = 3 d, a/R⋆=8.8a/R_\star = 8.8, k=0.1k = 0.1 and b=0.3b = 0.3. Find ii, T14T_{14} and T23T_{23}.
    Answeri=88.05°i = 88.05°, T14≈2.76T_{14} \approx 2.76 h, T23≈2.22T_{23} \approx 2.22 h.
  4. Earth’s transit. Earth orbits at a/R⊙≈215a/R_\odot \approx 215. Estimate how long a central (b=0b = 0) transit of Earth lasts.
    AnswerAbout 13 hours.
  5. Grazing. For k=0.1k = 0.1, above which impact parameter does T23T_{23} stop existing?
    Answerb>1−k=0.9b > 1 - k = 0.9.

Want help with this topic?

A 30-minute trial costs €10. We set goals and you see how I teach. After that, lessons are €30 for 60 minutes, or less with a pack.