Back to tools

Solar Ruler

Measure how high a prominence stands and how long a filament runs, in kilometres, on your own photo of the Sun, with Earth and Jupiter to scale.

This tool measures your own photograph of the Sun in kilometres: how high a prominence stands above the limb, and how long a filament runs across the disc. The Sun’s radius is 695,700 km, so the disc’s radius in pixels sets the scale, whatever telescope or camera took the picture. Rings every 50,000 km above the limb, with Earth and Jupiter drawn at the same scale, let you read the picture at a glance, and they stay on the saved image with your measurements.

How to use it

  1. Open a photo of the Sun as a JPEG, PNG or TIFF. Prominences and filaments show in H-alpha and calcium K, and sunspots and their groups in white light. Nothing is uploaded: the file stays in your browser.
  2. Check the disc. The tool measures the limb, fits a circle to it, and tells you how closely it fitted and what one pixel is worth in kilometres. If cloud or a cropped edge gets in the way, open Advanced and type the centre and the radius in pixels.
  3. To measure a prominence, click off the disc at its top. That gives its height, straight out from the limb beneath it, and it reads out live as you move, before you click. To place a point more closely, zoom in up to 16 times with the mouse wheel, a pinch or the + button, and drag to move around.
  4. To measure a filament, click on the disc to start a length, then click along it point by point, following its curve. Click the last point again, or press Enter, to finish. Undo, or Backspace, takes the last point off. A click off the disc also finishes the length, and measures a height there.
  5. For the width of a prominence, or anything you want measured straight, choose Straight line above the view. Clicks then draw a straight line anywhere, on the disc or off it, measured across the sky rather than along the surface. Choose Auto to go back.
  6. Read your measurements down the rail, in kilometres and in Earth diameters. Each one is labelled on the photo, H1, H2 for heights and L1, L2 for lengths, and each can be removed.
  7. If the rings hide something, turn them off. Then save a PNG at the photo’s own resolution with the rings, Earth, Jupiter and your measurements on it.

How it works

The scale comes from the Sun itself. Its radius is 695,700 km, the IAU’s nominal value, so on a disc 680 pixels in radius each pixel at the centre covers 1,023 km. You don’t need a focal length, pixel size or date, and a cropped photo works as long as enough of the limb shows to fit a circle to. In H-alpha, the edge the tool measures is the chromosphere’s, a few thousand kilometres above the photosphere, under 1% of the radius.

A height is measured off the disc, along the line from the centre through the point you click, from the limb out to that point. It is the height in the plane of the sky, which makes it a lower bound. A prominence leaning toward or away from Earth stands taller than it measures, and one a little beyond the limb has its foot hidden behind it.

A length is measured along the surface. The disc is a sphere seen flat, so the tool lifts each point you click back onto the sphere and joins each pair by the shortest path between them over the Sun, a great circle. The line it draws follows that path and bends with the surface. Near the limb the surface is seen edge on, so a stretch that looks short is long, and a one-pixel error grows, more than threefold past 95% of the radius. The tool flags it.

The rings stand 50,000, 100,000, 150,000 and 200,000 km above the limb. Earth, 12,756 km across, and Jupiter, at 142,984 km, sit in the corner at the same scale, so you can size up a prominence in planets as well as in kilometres.

Formula

h = (d ÷ r − 1) × 695,700 km

h is the height above the limb. d is the distance from the clicked point to the centre of the disc, and r is the disc’s radius, both in pixels. 695,700 km is the Sun’s radius.

Worked example

Say the disc is 680 pixels in radius and you click the top of a prominence 742 pixels from the centre. Then h = (742 ÷ 680 − 1) × 695,700 = 63,400 km to the nearest hundred. That is about 5.0 Earth diameters, between the first and second rings.

Common questions

Why is the height of a prominence a lower bound?

Because the photo flattens it onto the sky. A prominence standing straight up from the limb shows its full height. One leaning toward you or away from you is foreshortened, and one rooted a little behind the limb has its base hidden. Either way it measures shorter than it really is, never taller.

Why is a filament near the limb longer than it looks?

The Sun is a sphere, and near the edge of the disc you see its surface almost edge on, so distances along it get squeezed together on the photo. The tool measures along the surface instead of across the picture, which undoes the squeeze.

Do I need to enter my focal length or pixel size?

No. The Sun’s radius is known, so the disc’s own radius in pixels gives the scale. That holds for any telescope, camera, Barlow, crop or mosaic.

How accurate are the measurements?

To about a pixel at each end, which on a full-disc photo comes to a thousand kilometres or so. The rail tells you what a pixel is worth on yours, and that is why results are rounded to the nearest hundred kilometres. A prominence’s faint top or a filament’s fuzzy ends usually add more uncertainty than the clicks.

Which photos can I measure?

Any photo of the Sun with a round, sharp limb, whether a full disc or a crop, in H-alpha, calcium K or white light. Processing doesn’t matter as long as the image hasn’t been stretched out of round. Inverted and colourised images work just the same.

Is it safe to photograph the Sun?

Only through a proper solar filter fitted over the front of the telescope, or with a dedicated H-alpha or calcium K solar telescope, checked before every use. Never look at or photograph the Sun without one. This tool only reads a photo you already have.

Can I choose the folder the saved image goes to?

In Chrome or Edge on a computer, yes: “Save PNG” asks where to save, and next time opens the same folder. Firefox and Safari use their downloads folder; to choose each time, turn on “Always ask you where to save files” in Firefox, or “Ask for each download” in Safari.

Related tools

In the store

Equipment this tool helps you choose, at David Astro:

Store · Français