PS Anvilux
Back to the calculator

How we check our math

Engineers shouldn't have to take a calculator on faith. Below are textbook cases worked out by hand, next to what PS Anvilux calculates for the same setup. The PS Anvilux column isn't typed in: your browser just worked it out with the same code the calculator uses.

All 12 cases match their hand calculations. These numbers were just calculated in your browser by the same code the calculator uses.

Direct light

CaseBy handExpectedPS AnviluxMatch

Straight below a fixture

1000 cd fixture, 20 ft up; point on the ground right below it.

E = I ÷ h² = 1000 ÷ 20² = 2.5 fc2.5 fc2.5 fc Yes

30° off to the side

Same fixture; point 11.55 ft to the side, so the light arrives 30° from straight down.

E = I × cos³θ ÷ h² = 1000 × cos³30° ÷ 400 = 1.624 fc1.624 fc1.624 fc Yes

Two fixtures add up

Two of the same fixture on the same spot.

E = 2.5 + 2.5 = 5.0 fc5 fc5 fc Yes

Light loss factor

One fixture with a light loss factor of 0.80.

E = 2.5 × 0.80 = 2.0 fc2 fc2 fc Yes

Vertical light on a face

Point on the ground 20 ft away, measuring on a vertical face turned toward the fixture.

E = I × cos β ÷ d² = 1000 × (20 ÷ 28.28) ÷ 800 = 0.884 fc0.884 fc0.884 fc Yes

Desk-height grid

Ceiling fixture 9 ft up; grid at 2.5 ft (desk height).

E = I ÷ (9 − 2.5)² = 1000 ÷ 42.25 = 23.67 fc23.669 fc23.669 fc Yes

Fixture data

CaseBy handExpectedPS AnviluxMatch

Lumens from candela

The test fixture: 1000 cd over the whole lower half of a sphere.

Φ = I × solid angle = 1000 × 2π = 6,283 lm6,283.185 lm6,283.265 lm Yes

Shadows

CaseBy handExpectedPS AnviluxMatch

Pony wall: floor close behind it is shaded

Ceiling fixture 9 ft up; a 3.5 ft wall 5 ft away; floor point 6 ft away.

The light crosses the wall line at 9 × (1 − 5/6) = 1.5 ft, under the 3.5 ft top: blocked, 0 fc0 fc0 fc Yes

Pony wall: light passes over its top

Same wall; floor point 20 ft away.

Crosses the wall line at 9 × (1 − 5/20) = 6.75 ft, over the top: E = 1000 × 9 ÷ (20² + 9²)^1.5 = 0.851 fc0.853 fc0.853 fc Yes

Reflected light

CaseBy handExpectedPS AnviluxMatch

Every surface 50% reflective

20 × 20 × 9 ft room, ceiling, walls and floor all 50%; the test fixture in the middle.

E = Φ × ρ ÷ (A × (1 − ρ)) = Φ ÷ A = 6,283 ÷ 1,520 ft² = 4.13 fc4.134 fc4.134 fc Yes

Permit checks

CaseBy handExpectedPS AnviluxMatch

BUG rating: the IES worked example

The zone lumens of the Type IV example in IES TM-15-11 Addendum A (published answer: B1 U0 G1).

BM 585 lm ≤ 1000 → B1; no uplight → U0; FH 1742 lm ≤ 1800 → G1B1 U0 G1B1 U0 G1 Yes

Title 24 hardscape allowance (LZ2)

10,000 ft² of paving with a 400 ft perimeter, Lighting Zone 2 (2025 Table 140.7-A).

10,000 × 0.019 + 400 × 0.15 + 200 = 450 W450 W450 W Yes

How the calculation works

  • Direct light, point by point. At every grid point, each fixture's candela toward that point (read from its IES LM-63 file, with smooth interpolation between the measured angles) is turned into footcandles with the inverse-square and cosine laws, then multiplied by the light loss factor and the file's ballast factor.
  • Shadows. Walls (including partial-height and raised walls), columns, tables and stairs block a fixture's direct light when they stand between it and the point.
  • Reflected light indoors. Rooms marked as indoor add light bounced off the ceiling, walls and floor using the room flux-balance (integrating-sphere) method, the basis of the CIBSE/BRE split-flux method. It is one even amount across the room; walls and objects inside the room aren't counted as reflecting surfaces.
  • BUG ratings add up each fixture's lumens in the IES TM-15-11 zones and look up its Table A-1 to A-3 limits. Lighting zone limits follow the Joint IDA-IES Model Lighting Ordinance (2011), Table C. California hardscape allowances follow the 2025 Title 24 Part 6, Table 140.7-A.
  • Every change is tested. These cases, plus more than a hundred other automated checks, run each time the calculator is changed, before it goes live.

What it doesn't do

  • Outdoors, no light reflected from buildings or the ground, and no shadows from trees or vehicles.
  • Indoors, reflected light is an even estimate, not a full radiosity calculation; corners and the middle get the same amount.
  • No daylight.
  • PS Anvilux is a design aid. The engineer of record is responsible for verifying results and for compliance with the codes and ordinances that apply.