This publication presents a technique of quantifying energy savings due to daylight. The technique is designated to be used in smart buildings or similar applications where daylight harvesting is welcomed. The technique is divided into three stages. In the first stage an optical sensor is evaluated for its P (power)-E (illumination) response characteristics. In the second stage the calibration of room properties is carried out. In the final stage photometric calculations are performed, and energy savings are calculated. The major advantage of the proposed approach is to determine energy savings during the design stage of a building, not after the building construction or retrofitting. The information obtained from the calculations is useful for investors, future tenants and environmentalists.