A tankless heater does in seconds what a tank does in an hour: it must add a full temperature rise to however much water is flowing right now. Bigger flow or colder water means a bigger burner.
Tankless Water Heater Size Calculator converts your peak flow and rise into the BTU/h or kW capacity you need, and points at a unit class.