Precision Solar Alignment Instrument

Maximise solar yield
with geometry.

Enter your location, lock the sun's direction with your compass, and SolMax calculates the exact tilt, panel facing direction, and two-leg stand angles that capture the most sunlight — from first-principles astronomy, right in your browser. Free, no cloud, no data collection.

Smart Solar Geometry

Uses standard solar-position equations (declination, hour angle, incidence) to find your optimal panel angle — no API calls, no cloud dependency.

🧭

Live Sun Compass

Point your device at the sun to see its exact position on a compass. Lock the sun direction for optimum panel facing.

📐

Stand Angle Calculator

Get exact angles for the two-leg stand: front leg, back leg, base width, and leg heights — ready for installation.

How it works

1
Enter your location Use GPS or type coordinates. Your latitude drives the whole calculation — and activates the live Sun Compass.
2
Set fitting height & roof type Choose roof or ground mounting, set roof type (flat/sloped), and adjustment type (stationary/movable).
3
Lock sun direction & calculate Use the compass to lock the sun's real-time direction, fetch weather, then calculate optimal alignment and stand angles.
4
Read your results SolMax computes tilt, direction, row spacing and stand angles, plus energy yield and savings estimates — optimised for annual, winter, or summer.

How to use SolMax

A step-by-step walkthrough — from location to optimised panel alignment.

1LocationGPS or coordinates
2Fitting HeightRoof or ground
3Roof & PanelsType, tilt, wattage
4Sun CompassLock sun direction
5WeatherClouds, temp, soiling
6CalculateOptimal alignment & stand angles
1

Enter your location

your lat equator latitude angle GPS auto-detect Manual coordinates

SolMax needs your latitude and longitude — these are the only inputs that drive the solar geometry. Your latitude determines how high the sun climbs in your sky throughout the year.

Two ways Tap "Use my current location" for instant GPS coordinates, or enter latitude/longitude manually. Either way unlocks the live Sun Compass and updates the elevation chart above.

The sun chart shows three curves — winter solstice, equinox, and summer solstice. The higher a curve reaches, the more direct sunlight your panels receive on those days. Once you have a location, the chart becomes specific to your latitude.

2

Set fitting height

ROOF 11 ft default GROUND

Roof mounting

Panels are installed on your rooftop. Default first-floor height is 11 feet. This is the most common residential setup.

Ground mounting

Panels are installed on a standalone frame on the ground. This gives full freedom of angle and direction, but requires more space and structural support.

Height matters The fitting height affects wind exposure, structural requirements, and maintenance access. Higher installations need stronger mounting hardware.
3

Set roof type & panel specs

90° pitch flush mount tilt frames

Roof type

Flat — your roof is almost level. Panels need a tilted stand to angle them toward the sun. Sloped — your roof already has an angle built in, and panels can follow that slope.

Adjustment type

Stationary — panels are fixed to the roof through a stand at a set angle. Movable — panels can be adjusted or re-angled seasonally.

Roof facing compass

Drag the needle or tap a compass letter to set the direction your roof slopes toward. This matters because a south-facing roof (in the northern hemisphere) gets the most total sunlight.

Panel wattage

Enter your panel's nameplate power rating in watts. Typical residential panels range from 350W to 500W. This is used alongside the geometry and weather data to estimate your energy yield.

4

Use the Sun Compass & Lock Direction

N S W E YOU AIM Red = your heading · Green = aim here

Once your location is set, the Sun Compass appears automatically. Rotate your device and watch two needles track in real time:

  • Red needle — the direction you're currently pointing your device (from the built-in compass sensor).
  • Yellow needle — the sun's exact position in the sky right now, calculated from your coordinates and the current time.
Lock the sun direction Tap "Lock Sun Direction" to capture the current sun azimuth. This locks in the optimum direction your panels should face, and will be used in the final calculation.

The locked direction appears on the results compass, showing you exactly which way to orient your panels for maximum energy capture.

5

Adjust for weather

Cloud cover Daytime temperature Days since rain (soiling)

Solar geometry assumes clear skies, but real weather reduces output. Adjust three sliders to match your site:

  • Cloud cover — average percentage. 0% = desert clear, 100% = permanent overcast. The default of 35% approximates a mild climate. Fetch real data with one click.
  • Daytime temperature — panels lose efficiency above 25°C. Hot climates see 8–15% power loss on summer afternoons.
  • Days since rain — dust and dirt accumulate on dry panels, blocking light. Rain washes them clean. 7 days is a typical default.
One-click fetch Tap "Fetch typical weather for my location" to pull real 7-day average data from Open-Meteo (free, no API key). Adjust further if your site is unusual.
6

Calculate & interpret results

TILT 30° DIRECTION S 180° SUN HOURS/DAY 5.2 hrs Month-by-month breakdown J M J S

Tap "Calculate optimal alignment" — SolMax runs a two-stage brute-force search across all possible tilts and directions to find the combination that maximizes sunlight capture for your chosen priority.

Understanding the outputs

  • Tilt angle — how far the panel leans back from flat. Steeper tilts favour low winter sun; shallower tilts favour high summer sun.
  • Direction (azimuth) — the compass direction the panel faces. This matches your locked sun direction for optimum energy capture.
  • Effective sun-hours/day — the average daily equivalent of full-intensity, straight-on sunlight after accounting for geometry, weather, and system losses.
  • Stand angles — the exact angles for the two-leg stand: front leg (vertical) and back leg (angled to achieve the tilt), plus the base width and leg heights.

Reading the charts

  • Sun elevation chart — shows how high the sun gets at every hour for winter solstice, equinox, and summer solstice. The 10° dashed line marks the altitude below which light is too scattered to be useful.
  • Bar chart — effective sun-hours per month. The tallest bar shows the best month. The pattern across the year tells you if your array is balanced.
  • Month table — exact numbers for each month: productive window, day length, and effective hours.
Optimization priority Annual = best total across the whole year (the safe default). Winter = steeper tilt for low winter sun. Summer = shallower tilt for high summer sun.

The science in one page

LATITUDE DECLINATION HOUR ANGLE ALTITUDE AZIMUTH INCIDENCE PANEL TILT PANEL AZIMUTH OPTIMUM RESULT

SolMax uses standard solar-position equations from the solar engineering literature (Duffie & Beckman, 2013). The calculation chain is straightforward:

  1. Solar declination — where the sun is north/south of the equator on a given day (varies from −23.45° to +23.45° through the year).
  2. Hour angle & day length — how far east or west the sun is from the local meridian. Sunrise to sunset defines the daylight window.
  3. Solar altitude & azimuth — the sun's height above the horizon and its compass direction at any moment.
  4. Angle of incidence — the master equation. It combines latitude, declination, hour angle, panel tilt, and panel azimuth into one number representing how "straight-on" the sunlight hits your panel.

The optimiser evaluates thousands of (tilt, azimuth) combinations across representative days for every month, picks the best one, then refines with finer resolution around the winner. The result is the static tilt and direction that captures the most sunlight for your chosen priority.

Quick reference

GPS location — most accurate. Auto-detects timezone.
Fitting height — Roof (default 11ft) or Ground mounting.
Sun Compass — Point device at sun, then lock direction.
Roof type — Flat or Sloped. Stationary or Movable adjustment.
Weather fetch — one click pulls real data from Open-Meteo.
Priority — Annual (best total), Winter (steeper), Summer (shallower).
Results — tilt, direction, stand angles, effective sun-hours/day.
Feedback — submit actual production data to help refine the model.

Ready to optimise your solar array?

Open the tool  →
SUN ELEVATION ACROSS THE DAY— awaiting location —

How high the sun climbs above the horizon at different times of year — low curves mean long shadows and shorter productive windows, high curves mean more direct light.

Dec 21 (winter solstice) Equinox Jun 21 (summer solstice) ┄ 10° usable-light threshold
1

Location

Your latitude determines the sun's height in the sky all year — the single biggest factor in panel angle.

2

Fitting Height

Where will the panels be installed? This affects wind exposure and structural requirements.

Typical first floor height is 11 feet
3

Roof & panels

Tells the instrument what you're mounting to, and your panel specification.

0° = flat, 90° = a vertical wall. Most house roofs are 15–40°

Enter how many panels you'll install and each panel's wattage — this is all we need to estimate your total energy.

4

Weather & environment

Local conditions affect real-world output. Adjust these to match your site, or fetch typical data (free, no API key).

Clear35%Overcast
Your recommended setup

Which way to face — on the map

The green arrow points the exact direction your panels should face. Switch between satellite and street view.

Face this way

Hold your phone flat and turn around until the red needle lines up with the green arrow — that's the way to face your panels.

Tilt from flat
°
Strong sun hours/day
Gap between rows

How to build the stand

Your energy production

Hour-by-hour on a typical day

TimeSun heightShare of day's powerApprox. energy

Strong sun-hours by month

MonthSun windowDay lengthStrong hrs

Important notes

    Help SolMax improve — self-learning

    The Science

    Understanding the science behind your solar panel alignment

    The problem it solves

    Solar panels produce the most energy when sunlight hits them straight-on. SolMax finds the fixed tilt and direction that captures the most sunlight.

    How the calculation works

    SolMax uses standard solar-position equations. At its core are four key quantities:

    Solar declination The sun's latitude in the sky, ranging from −23.45° to +23.45°.
    Hour angle & day length The sun's angular position east or west of the local meridian.
    Solar altitude How high the sun is above the horizon. Below 10° is not useful for power.
    Angle of incidence How directly the sun hits your panel at any moment.

    The optimization algorithm

    SolMax uses a two-stage brute-force search:

    • Stage 1 — Coarse sweep of all directions and tilts.
    • Stage 2 — Fine refinement around the best candidate.

    The result is the static tilt and direction that captures the most sunlight for your chosen priority.

    Row spacing

    SolMax calculates minimum spacing using the worst-case solar altitude on the winter solstice.

    Limitations

    • SolMax models geometry only.
    • It does not model cloud cover, humidity, dust, or shading.
    • Clock times use standard time and your location's astronomical solar noon.
    • Treat results as an optimal-aiming guide, not a guarantee.

    Data sources

    The solar-position algorithms are based on:

    • Duffie & Beckman (2013). Solar Engineering of Thermal Processes.
    • Cooper (1969). Klein's average-day approximation.
    • NOAA Solar Calculator for verification.

    No external APIs, no server calls, no data collection.

    Contact

    Questions, suggestions, or feedback? We'd love to hear from you.

    Open source

    SolMax is free and open source. Contributions, issues, and feature requests are welcome on GitHub.

    Send a message