An electricity meter measures the amount of electric energy consumed by residences and businesses. It measures consumption in kilowatt-hours and bills are based on the difference between consecutive readings. There are four main types of meters: flat-rate meters that record total usage; interval meters that record usage in half-hour intervals; smart meters that digitally record usage and when energy is consumed; and solar meters that track net consumption and power going to and from the grid. Materials used in meter installation include meter boxes, conduit, clamps, fittings, circuit breakers, electrical boxes, and service entrance wire.