My hot water runs out faster than it did a year ago. Is that a problem with the heater or the tank size?
Almost always the heater. Sediment accumulates at the bottom of the tank over time and insulates the water from the heating element or burner, reducing effective capacity. A full flush often restores performance. If the unit is over 10 years old, the element or thermostat may also be degrading.