Digital Photo Calculator

Digital Photo Calculator

Depth of field and focus

Sun and moon

Color conversions

Sensor calculator

How prepared are you?

Plan your landscape shooting trip
with Digital Photo Calculator,
find the best f/stop and positions of the Sun and Moon

Calculates sensor resolution, diffraction limit,
DOF and hyperfocal distance optimized
for given sensor size and resolution.

Dmax and Dmin values
from their Lab measurements.

Converts between AdobeRGB, sRGB,
ProPhoto RGB and Lab color spaces

Interactive Sun and Moon
calculator to determine sunset,
sunrise, moonset, moonrise, dawn, dusk,
moon phases and shadow length.


  • Calculates sensor dimensions in pixels and mm from MP and type of sensor (APS-H, APS C, FF etc.)
  • Calculates pixel density information, pixel size, estimated sensor resolution in lp/mm and diffraction limit (diffraction f-stop)
  • Supported sensors: 1/6″, 1/4″, 1/3.6″, 1/3.2″, 1/2.7″, 1/2.3″, 1/2″, 1/1.8″, 1/1.7″, 1/1.6″, 2/3″, 4/3″, Nikon CX, Epic-M, Scarlet-X, APS C, APS Nikon, APS-H, FF (24x36mm), Leica S2, Pentax 645D, P 25+, 48×36 mm, 44×33 mm, P 45+, H3DII-31, H4D-31, P 30+, H3DII-39, H4D-40, AFi-II 10, Aptus-II 10, H4D-50, H4D-200MS, P 65+, IQ160, P 40+, IQ140, H4D-60, H3DII-50, Aptus-II 8, AFi-II 12, Aptus-II 12, IQ180
  • Currently supprts resolutions up to 200MP


  • Calculates dimensions of your sensor in pixels and mm from MP and type of your sensor (APS-H, APS C, FF etc.).
  • Calculates pixel density, pixel size, estimated sensor resolution in lp/mm and f-stop when diffraction starts affecting the image quality


  • Converts color values between color spaces
  • Lab to RGB
  • RGB to Lab
  • RGB to RGB
  • Supported RGB spaces: sRGB, AdobeRGB and ProPhotoRGB
  • Displays results as a set of numeric values and a color patch


  • Calculates density from Lab or RGB values.
  • Calculates Dmax or Dmin from Lab or RGB: Read darkest or lightest areas of your print with X-Rite ColorMunki Photo and get Dmax and Dmin from ColorMunki’s Lab reading.


  • Sunrise, sunset, moonrise and moonset time and azimuth
  • Sun and Moon transit time
  • Dawn and dusk times
  • Sun and Moon elevation angle
  • Moon phase and illumination
  • Shadow length
  • Interactive display of Sun and Moon positions
  • Use for all photographic locations that can be entered as an address or geographic coordinates


Unlike traditional calculators and DOF tables, the hyperfocal distance and depth of field calculator uses sensor resolution to determine optimal criteria for acceptable sharpness. The resulting calculated depth of field ensures thato objecs within depth of field are as sharp as your camera sensor can resolve. Traditional “Zeiss formula” calculation is also available.

Copyright 2015 Mirek Elsner | All Rights Reserved