How Sunrise and Sunset Ramps Count Toward Total Daily Light Hours
A standard linear sunrise and sunset ramp counts for half (50%) of its total duration toward your effective daily photoperiod, meaning a 1-hour sunrise plus a 1-hour sunset equals 1.0 full-intensity hour of plant and algae light. To stay within a 6–8 hour daily target without triggering algae, subtract half of your combined ramp time from your peak plateau rather than adding ramps on top of a full-length peak schedule.
At the same time, ramps count for 100% of their duration toward your tank's total illuminated window (fish wake/sleep cycle). Separating effective photosynthetic hours from total lit hours is the key to getting smooth dawn-to-dusk viewing without over-lighting your tank.
The Two Light Clocks Running in Every Freshwater Tank
Every programmed LED schedule runs two separate biological clocks simultaneously: an energy clock for plants and algae, and a circadian clock for fish.
- Effective Photoperiod (Photosynthetic / Algae Budget): Measures equivalent hours at peak intensity. Because a linear ramp from 0% to 100% averages 50% output over its duration, it delivers roughly half the Daily Light Integral (DLI) per hour compared to your midday plateau.
- Total Illuminated Window (Circadian / Viewing Hours): Measures every minute the light is above 0%, from the first 1% glow of sunrise to the final 0% shutoff of sunset. Fish need 10–12 hours of uninterrupted darkness every 24 hours to rest, regardless of how dim the ramps are.
When aquarists set an 8-hour peak plateau and tack on a 1-hour sunrise and 1-hour sunset, they inadvertently create 9.0 effective peak hours and 10.0 total lit hours—pushing most freshwater tanks straight into algae territory.
Exact Formulas for Counting Ramp Time
Use plain-text arithmetic with your controller's ramp durations and intensity percentages to calculate your true daily light load.
Linear 0%-to-Peak Ramps (Most LED Controllers)
Effective Ramp Hours = (Sunrise Hours + Sunset Hours) × 0.5Effective Photoperiod (hr) = Peak Plateau (hr) + Effective Ramp HoursTotal Lit Hours (hr) = Peak Plateau (hr) + Sunrise Hours + Sunset Hours
Partial or Custom-Stepped Ramps
If your controller ramps between two non-zero percentages (for example, 20% to 80% peak):
Effective Ramp Hours = Ramp Duration (hr) × ((Start % + End %) ÷ 2) ÷ Peak %
Daily PAR-Hour Budget Check
To compare schedules across different light intensities using substrate PAR (Photosynthetically Active Radiation):
Daily PAR-Hours = Effective Photoperiod (hr) × Peak Substrate PAR
Worked Comparison (Medium-Light Planted Tank at 40 PAR)
Suppose your target is 7.5 effective hours/day (300 Daily PAR-Hours at 40 PAR) with a 1-hour sunrise and 1-hour sunset:
| Schedule Approach | Sunrise | Peak Plateau | Sunset | Effective Photoperiod | Total Lit Window | Daily PAR-Hours | Outcome |
|---|---|---|---|---|---|---|---|
| Common Mistake (ramps added on top) | 1.0 hr | 8.0 hr | 1.0 hr | 9.0 hr | 10.0 hr | 360 PAR-hr | Exceeds 7–8 hr ceiling; high algae risk |
| Corrected Schedule (ramps subtracted) | 1.0 hr | 6.5 hr | 1.0 hr | 7.5 hr | 8.5 hr | 300 PAR-hr | Hits target energy + 8.5 hr evening viewing |
| Short-Ramp Schedule (startle prevention) | 0.25 hr | 7.25 hr | 0.25 hr | 7.5 hr | 7.75 hr | 300 PAR-hr | Hits target energy with minimal plateau loss |
How Tank Depth Changes When a Ramp Starts Counting
Water absorbs light exponentially with depth, so a ramp crosses the 10–15 PAR plant compensation point at different controller percentages depending on how tall your aquarium is. Below roughly 10–15 PAR at the substrate, most rooted plants and nuisance algae accumulate negligible usable energy, while above it photosynthesis scales rapidly.
| Tank Depth Tier | Standard US Tank Examples | Typical Attenuation | When a 40-PAR Peak Ramp Crosses 15 PAR at Substrate |
|---|---|---|---|
Shallow (≤12 in / ≤30 cm) |
10G (20×10×12 in / 51×25×30 cm), 20L (30×12×12 in / 76×30×30 cm) |
Minimal water-column loss | Around 35–38% intensity; ramps count early |
Medium (16–18 in / 41–46 cm) |
20H (24×12×16 in / 61×30×41 cm), 29G (30×12×18 in / 76×30×46 cm), 40B (36×18×16 in / 91×46×41 cm) |
Moderate loss at substrate | Around 38–42% intensity; middle-to-upper ramp counts |
Deep (21–24+ in / 53–61+ cm) |
55G (48×13×21 in / 122×33×53 cm), 75G (48×18×21 in / 122×46×53 cm), 90G (48×18×24 in / 122×46×61 cm), 120G (48×24×24 in / 122×61×61 cm) |
Heavy bottom attenuation | Often 50%+ intensity (lower half of ramp stays dim at substrate, though tall stems near the surface receive more) |
Because shallow tanks lose very little light before hitting the substrate, keeping ramps short (15–30 minutes) on 10G or 20L setups prevents early-morning dim light from quietly stretching your effective photoperiod.
Recommended Photoperiod and Ramp Splits by Setup Type
Match your effective photoperiod—not your raw plateau—to your substrate PAR tier and CO2 setup.
| Setup Type | Substrate PAR Target | Recommended Effective Photoperiod | Example Sunrise / Plateau / Sunset | Total Lit Window |
|---|---|---|---|---|
| Fish-Only / Non-Planted | 5–15 PAR | 6–8 hr/day | 30 min / 7.0 hr / 30 min (7.5 hr effective) | 8.0 hr |
| Low-Light Planted (No CO2) | 15–30 PAR | 6–8 hr/day | 30 min / 6.5 hr / 30 min (7.0 hr effective) | 7.5 hr |
| Medium-Light Planted (No CO2) | 30–50 PAR | 7–8 hr/day | 60 min / 6.5 hr / 60 min (7.5 hr effective) | 8.5 hr |
| High-Tech CO2 Planted | 50–100+ PAR | 6–8 hr/day | 30 min / 6.5 hr / 30 min (7.0 hr effective) | 7.5 hr |
- For viewing flexibility: If you want a 9-hour evening viewing window on a medium-light tank without exceeding 7.5 effective hours, use 1.5 hr sunrise + 6.0 hr plateau + 1.5 hr sunset (
6.0 + 0.5 × 3.0 = 7.5 hreffective,9.0 hrtotal lit), leaving 15 hours of darkness.
Step-by-Step: How to Program a Balanced Ramp Schedule
Follow this five-step sequence whenever you set up a new programmable LED controller or adjust an existing timer.
- Lock in your effective photoperiod target: Pick 6–8 hr/day for low-light (
15–30 PAR) or high-tech CO2 (50–100+ PAR) tanks, or 7–8 hr/day for medium-light (30–50 PAR) tanks. Start at the lower end (6–6.5 hr) on newly planted tanks. - Choose your ramp length by purpose: Use 15–30 minutes if your only goal is preventing fish from darting into glass when lights snap on. Use 45–60 minutes if you want a gradual dawn/dusk visual transition.
- Calculate your peak plateau: Multiply your combined sunrise + sunset hours by
0.5, then subtract that number from your effective photoperiod target (Plateau = Target - 0.5 × Total Ramp). - Verify your dark period: Add
Plateau + Sunrise + Sunsetto confirm total lit hours stay under 10–12 hours, leaving at least 12 hours of true darkness (including room ambient light) overnight. - Audit multi-point curves: On 4-point or 8-point controllers, verify that the fixture does not linger at 70%–90% intensity for hours before hitting 100%, as a flat-topped trapezoid counts almost identically to a full plateau.
How Ramps Affect Pressurized CO2 Timing (High-Tech Planted Only)
On high-tech planted aquariums (50–100+ PAR at substrate) running pressurized CO2, start your CO2 solenoid 1–2 hours before the sunrise ramp reaches ~25–30% intensity, and shut it off 1 hour before final lights-out.
- Why standard "plateau-only" CO2 timing fails: If you delay turning on your solenoid until the peak plateau begins, plants crossing the compensation point halfway through a 60-minute sunrise will photosynthesize in CO2-starved water, triggering staghorn or black beard algae.
- Calibration target: Time your solenoid so a 4 dKH Drop Checker reads lime green (~25–30 ppm CO2) by the time the sunrise ramp hits roughly half power.
- Shutoff adjustment: Turning the solenoid off 1 hour before final lights-out lets plants draw down dissolved CO2 through the upper half of the sunset ramp, avoiding overnight CO2 buildup while keeping residual gas available during dusk photosynthesis. For long sunset ramps (
≥60 min), shutting off CO2 30 minutes before the ramp ends (roughly 1 hour before the dimmest usable PAR drops below 15 PAR) prevents wasting gas in near-darkness.
Five Common Ramp Pitfalls That Cause Algae
- Treating ramps as "free" light time: Adding 60-minute ramps onto an 8-hour peak schedule creates a 9-hour effective photoperiod (
+12.5%daily energy) and is the single most common cause of green spot and hair algae on timed LEDs. - Running 2–3 hour "slow ramps": Even when the math works out to 7 effective hours (
2.5 hr sunrise + 4.5 hr plateau + 2.5 hr sunset), stretching the illuminated window to 9.5+ hours cuts into fish dark rest and leaves plants sitting in prolonged low-PAR transition zones. - Counting blue "moonlight" as off-time: Leaving a 5%–10% blue moonlight channel on for 3–4 hours after sunset extends your total illuminated window and supplies wavelengths that nuisance algae use efficiently. Keep moonlight under 1–2 hours at
≤1–3%intensity, or turn all channels to 0% for full dark rest. - Assuming LED dimming sliders are linear: Many LED drivers use non-linear dimming curves, meaning "50%" on an app slider may output anywhere from 35% to 65% of actual peak PAR. Use the
0.5 × rampformula as your baseline, then trim or add 30 minutes to your plateau if green dust algae appears on the glass within 10–14 days. - Ignoring ambient room light: Direct morning window light or bright overhead room lamps before sunrise and after sunset extend your tank's effective lit window even while the aquarium fixture reads 0%. Keep tanks out of direct sunlight and align your ramp window with the hours the room is naturally occupied.