Photography & Astronomy Tools

Professional calculators for precision planning

Master the Technical Side of Night Photography

These calculators help you nail camera settings before you get to the field. No more trial-and-error in the dark. Calculate the perfect shutter speed to prevent star trails, find the optimal focus distance for sharpness from foreground to infinity, and plan compositions by knowing exactly what fits in your frame.

NPF Rule Calculator

Calculate maximum shutter speed to prevent star trailing

Maximum Shutter Speed (NPF Rule)
11.5
seconds

To avoid star trails with a 24mm lens at f/2.8, keep your shutter speed at or below 11.5 seconds.

Legacy 500 Rule:20.8
NPF Rule is more conservative (sharper stars)
NPF Rule is more accurate than the legacy 500 Rule because it accounts for sensor pixel pitch and aperture. Use this for pin-sharp stars in Milky Way photography. For star trails, ignore this and use longer exposures (30s-4min).
Focal Length
24mm
Aperture
f/2.8
Shutter
11.5
ISO
1600+

Hyperfocal Distance Calculator

Calculate focus distance for maximum depth of field from foreground to stars

Hyperfocal Distance
2.4
meters
/
8
feet

Focus at 2.4m to achieve sharp focus from 1.2m to infinity

Depth of Field Visualization
1.2m
Focus Here
Near Limit
1.2m
Focus Point
2.4m
Far Limit
Infinity (∞)

How to use: Set your lens to 24mm and aperture to f/8. Focus at 2.4m (or 8ft). Everything from half that distance to infinity will be acceptably sharp.

For landscape astrophotography: This technique lets you capture sharp foreground elements (rocks, trees) AND sharp stars in a single exposure. Use f/8 or narrower for best results.

Trade-off: Smaller apertures (f/11, f/16) increase depth of field but require higher ISO or longer shutter speeds. For Milky Way shots, f/2.8-f/5.6 is often better despite shallower depth.

Recommended For
  • ✓ Landscape + Milky Way
  • ✓ Foreground interest
  • ✓ Maximum sharpness
Not Ideal For
  • ✗ Deep sky only (focus ∞)
  • ✗ Wide open apertures
  • ✗ Star trail photography

Field of View Calculator

Calculate what fits in your frame for composition planning

Horizontal FOV
73.7°
Vertical FOV
53.1°
Diagonal FOV
84.1°
Frame Coverage
73.7°
53.1°
Full Frame (35mm)36mm × 24mm
Popular Deep Sky Objects
Full Moon
Angular size: 0.5°
Fits easily with room
Andromeda Galaxy (M31)
Angular size: 3.2°
Fits easily with room
Orion Nebula (M42)
Angular size: 1°
Fits easily with room
Pleiades (M45)
Angular size: 2°
Fits easily with room
North America Nebula
Angular size: 2°
Fits easily with room
Lagoon Nebula (M8)
Angular size: 1.5°
Fits easily with room
Ultra-Wide (8-24mm)
  • • Milky Way core
  • • Wide star fields
  • • Landscape + stars
Standard (35-85mm)
  • • Large nebulae
  • • Constellations
  • • Galaxy clusters
Telephoto (135mm+)
  • • Moon details
  • • Small nebulae
  • • Individual galaxies

Composition tip: For most deep sky objects, aim for the object to take up 20-40% of the frame width. This provides context while showing detail.

Crop factor reminder: APS-C sensors have a 1x crop factor, effectively making a 24mm lens behave like 24mm on full frame in terms of field of view.

Quick Tips for Night Photography

📸 For Sharp Stars
  • • Use the NPF Rule (more accurate than 500 Rule)
  • • Wider apertures (f/2.8-f/4) allow faster shutter
  • • Manual focus to infinity (or use hyperfocal)
  • • Disable image stabilization on tripod
🌌 For Landscape + Stars
  • • Use hyperfocal distance at f/8-f/11
  • • Increases depth of field dramatically
  • • Trade-off: Need higher ISO or longer exposure
  • • Best when moon provides foreground light
🔭 For Deep Sky Objects
  • • Use field of view calculator to plan
  • • 14-24mm for Milky Way core
  • • 85-135mm for large nebulae
  • • 200mm+ for galaxies and small nebulae
⚙️ ISO Recommendations
  • • Bortle 1-3 (dark): ISO 3200-6400
  • • Bortle 4-6 (suburban): ISO 1600-3200
  • • Bortle 7-9 (urban): ISO 800-1600
  • • Test your camera's noise threshold

Ready to shoot?

Check tonight's forecast for your location

View Forecasts