. SAMPA Calculator Skip to main content

SAMPA Calculator

Compute the Sun & Moon position and eclipse irradiance reduction from time
and location using NREL's Solar and Moon Position Algorithm (SAMPA).
Required input values:
Enter start date:
Enter end date:
Enter output time interval:   Units:

Enter site location information:







Optional input values:







Check desired final output values:








Check desired intermediate output values:











† The sun's unshaded lune is the portion of the sun that is not blocked by the moon during a possible eclipse.
Please read the disclaimer before using this product.
For more information about SAMPA and the C source code


For questions about the solar and moon position algorithm contact: Ibrahim Reda
For questions about this website or the calculator contact: Afshin Andreas