Flux (or radiant flux), F, is the total amount of energy that crosses a unit area per unit time. Flux is measured in joules per square metre per second (joules/m2/s), or watts per square metre (watts/m2).
where F = flux measured at distance r,
L = luminosity of the source,
r= distance to the source.