Star Trail Calculator
Calculate exposure settings and rotation time for star trail photography. Enter values for instant results with step-by-step formulas.
Calculator
Adjust values & calculateFormula
The 500 Rule determines maximum single-frame exposure before stars trail. Earth rotates at approximately 15.04 degrees per hour (360 degrees in 23h 56m 4s sidereal day). Total shooting time equals desired trail length in degrees divided by rotation rate. Total frames equals shooting time divided by individual exposure time.
Last reviewed: December 2025
Worked Examples
Example 1: Quarter-Circle Star Trails with 24mm Lens
Example 2: Short Star Trails on Crop Sensor
Background & Theory
The Star Trail Calculator applies the following established principles and formulas. Computers represent all information using binary, a base-2 number system consisting solely of the digits 0 and 1, each called a bit. Because long binary strings are unwieldy, programmers routinely use octal (base 8) and hexadecimal (base 16) as compact shorthand. Converting between bases follows a consistent algorithm: divide the source number repeatedly by the target base, collecting remainders in reverse order. Hexadecimal digits A through F represent the values 10 through 15, allowing a single character to encode four binary bits, making it the preferred notation for memory addresses, color codes, and bytecode. Bitwise operations manipulate individual bits within integers. AND produces a 1 only when both input bits are 1, making it useful for masking. OR produces a 1 when either bit is 1 and is used for combining flags. XOR flips bits that differ, enabling simple toggle logic and efficient swap algorithms. NOT inverts every bit (one's complement), while left and right shifts multiply or divide by powers of two in constant time. Data storage units ascend in binary multiples of 1024: 8 bits form one byte, 1024 bytes form one kibibyte (KiB), 1024 KiB form one mebibyte (MiB), and so forth. Hard-drive manufacturers historically use decimal prefixes (1 KB = 1000 bytes), creating the persistent confusion between binary and decimal interpretations of the same label. The IEC standardized the binary prefixes KiB, MiB, GiB, and TiB in 1998 to resolve this ambiguity. Network bandwidth is measured in bits per second (bps), most commonly megabits per second (Mbps) or gigabits per second (Gbps). A 100 Mbps connection transfers 100 million bits every second, equating to roughly 12.5 megabytes per second. IP subnet masks define network boundaries; CIDR notation appends a prefix length (e.g., /24) to an address, indicating how many leading bits are fixed. A /24 subnet contains 256 addresses with 254 usable hosts. Algorithm efficiency is described using Big-O notation, which characterises the worst-case growth of time or space relative to input size. O(1) is constant, O(log n) is logarithmic (binary search), O(n) is linear, and O(nยฒ) is quadratic. Cryptographic hash functions like SHA-256 produce a fixed 256-bit (32-byte) digest regardless of input length. File compression algorithms exploit statistical redundancy to reduce storage footprint, and compression ratio equals the original file size divided by the compressed size.
History
The history behind the Star Trail Calculator traces back through the following developments. The conceptual foundation of modern computing traces back to Charles Babbage, whose Analytical Engine design of 1837 introduced the idea of a general-purpose mechanical computer with separate storage and processing units, including what he called the Store and the Mill. Ada Lovelace wrote what many consider the first algorithm intended for machine execution while annotating a translation of Luigi Menabrea's account of Babbage's work, also recognising the machine's potential to manipulate symbols beyond mere numbers. George Boole published "The Laws of Thought" in 1854, formalising a two-valued algebra of logic that would later map perfectly to electrical circuits. It remained largely a mathematical curiosity until Claude Shannon's landmark 1937 master's thesis demonstrated that Boolean algebra could describe switching circuits, laying the theoretical groundwork for all digital electronics. Shannon's 1948 paper "A Mathematical Theory of Communication" defined the bit as the fundamental unit of information and established information theory as a rigorous discipline. The same year, the transistor was invented at Bell Labs by Bardeen, Brattain, and Shockley, eventually replacing vacuum tubes and enabling miniaturisation at scale. ENIAC, completed in 1945, was one of the first general-purpose electronic computers, occupying 1800 square feet and consuming 150 kilowatts of power while performing roughly 5000 additions per second. The ASCII standard was ratified in 1963, assigning 7-bit codes to 128 characters and enabling interoperability between computers from different manufacturers. Through the 1970s, the microprocessor consolidated an entire CPU onto a single chip; Intel's 4004 in 1971 marked the beginning of this trend. The Apple II launched in 1977 and the IBM PC in 1981 brought computing to homes and offices, triggering a mass-market software industry. Tim Berners-Lee proposed the World Wide Web in 1989 and launched the first website in 1991 at CERN, transforming the internet from an academic and military network into a global information infrastructure. Mobile computing accelerated through the 2000s with smartphones integrating powerful processors, wireless networking, and GPS into pocket-sized devices, extending computation into every facet of daily life and cementing TCP/IP as the universal communications fabric.
Frequently Asked Questions
Formula
Max Exposure = 500 / (Focal Length x Crop Factor) | Shoot Time = Trail Degrees / 15.04 degrees per hour
The 500 Rule determines maximum single-frame exposure before stars trail. Earth rotates at approximately 15.04 degrees per hour (360 degrees in 23h 56m 4s sidereal day). Total shooting time equals desired trail length in degrees divided by rotation rate. Total frames equals shooting time divided by individual exposure time.
Worked Examples
Example 1: Quarter-Circle Star Trails with 24mm Lens
Problem: Calculate the shooting time and frame count for 90-degree star trails using a 24mm f/2.8 lens on a full-frame camera at ISO 1600.
Solution: 500 Rule max exposure: 500 / 24 = 20.8 seconds per frame\nEarth rotation rate: 15.04 degrees per hour\nTime for 90 degrees: 90 / 15.04 = 5.98 hours\nTotal frames needed: (5.98 x 3600) / 20.8 = 1,035 frames\nStorage: 1,035 x 25MB = 25.9GB\nField of view: 73.7 degrees
Result: Shoot for ~6 hours | 1,035 frames | 25.9GB storage needed
Example 2: Short Star Trails on Crop Sensor
Problem: Calculate settings for 30-degree trails with a 18mm lens on a 1.5x crop sensor camera.
Solution: Effective focal length: 18 x 1.5 = 27mm\n500 Rule: 500 / 27 = 18.5 seconds per frame\nTime for 30 degrees: 30 / 15.04 = 2.0 hours\nTotal frames: (2.0 x 3600) / 18.5 = 389 frames\nStorage: 389 x 25MB = 9.7GB
Result: Shoot for ~2 hours | 389 frames | 9.7GB storage
Frequently Asked Questions
How do I find the North Star (Polaris) for centering star trails?
To find Polaris in the Northern Hemisphere, first locate the Big Dipper (Ursa Major) constellation. Draw an imaginary line through the two pointer stars at the outer edge of the Big Dipper bowl (Dubhe and Merak) and extend it approximately five times the distance between them. This line points directly to Polaris, which sits at the end of the Little Dipper handle. Polaris is not the brightest star in the sky but maintains a nearly fixed position at the north celestial pole. For Southern Hemisphere photographers, there is no bright pole star, so use the Southern Cross to estimate the south celestial pole position. Smartphone apps like Stellarium and PhotoPills can precisely locate the poles.
How long do I need to shoot for impressive star trails?
The shooting duration directly determines the length of the star trails. Earth rotates at 15 degrees per hour, so a one-hour shoot produces trails spanning approximately 15 degrees of arc. For a quarter circle (90 degrees), you need about 6 hours. For a full circle (360 degrees), you would need nearly 24 hours, which is impractical. Most photographers find that 1-3 hours produces pleasing results with clearly visible curved trails. Shorter sessions of 30-60 minutes create shorter streaks that can still be effective, especially with wider lenses. The visual impact also depends on focal length: wider lenses show more of the sky with shorter apparent trails, while telephoto lenses magnify the trail length but cover a smaller field of view.
What camera settings should I use for star trail stacking?
For star trail stacking, set your camera to manual mode with the widest aperture available (f/1.4 to f/2.8 is ideal). Use ISO 1600-3200 for bright trails against a moderately dark sky, or ISO 800 for subtler trails with less noise. Set the shutter speed using the 500 Rule to keep stars as points in each individual frame. Enable long exposure noise reduction only if NOT shooting continuous stacked frames, as it doubles the time between shots and creates gaps in trails. Use manual focus set to infinity (verify with live view magnification on a bright star). Shoot RAW for maximum post-processing flexibility and use an intervalometer to automate the continuous capture process.
What software is best for stacking star trail images?
Several excellent software options exist for stacking star trail images. StarStaX is a free, dedicated star trail stacking application available for Windows, Mac, and Linux, offering lighten blending, gap filling, and comet mode effects. Adobe Photoshop can stack trails using the Lighten blending mode across image layers, though it is memory-intensive for hundreds of frames. Sequator is a free Windows tool that handles both star stacking and trail stacking with advanced alignment. StarTrails.exe is another free Windows tool specifically designed for star trail creation. For advanced users, ImageMagick command-line tools can batch-process thousands of frames efficiently. Most photographers find StarStaX sufficient for the majority of star trail projects.
How do I prevent gaps in stacked star trails?
Gaps appear in stacked star trails when there is dead time between frames, such as during image writing to the memory card, mirror lockup delay, or long exposure noise reduction processing. To minimize gaps, use a fast memory card (UHS-II or CFexpress) to reduce write times, disable in-camera long exposure noise reduction, use electronic front curtain shutter if available, and set your intervalometer to fire the next shot immediately after the previous one finishes. Most intervalometers allow setting the interval to just one second longer than the exposure time. If gaps still appear, StarStaX and similar software offer gap-filling algorithms that interpolate missing trail segments between frames.
Does my geographic latitude affect star trail photography?
Yes, latitude significantly affects star trail appearance. At the geographic poles (90 degrees latitude), all visible stars are circumpolar and create perfect concentric circles. At the equator (0 degrees latitude), no stars are circumpolar and all stars rise in the east and set in the west, creating straight lines overhead and slight curves near the horizon. At mid-latitudes (30-60 degrees), you get the most diverse compositions: tight circles near the pole, wider arcs in the mid-sky, and nearly straight trails near the celestial equator. Your latitude also determines which stars are circumpolar (always above the horizon) versus those that rise and set, which affects minimum trail completeness.
References
Reviewed by Daniel Agrici, Founder & Lead Developer ยท Editorial policy