Every calculator shows the formula it uses and where the numbers come from, so you can check the math yourself.
Estimate cooling capacity for a room from size, ceiling height, sun and occupants.
Work out the flow rate (GPM) and temperature rise your tankless unit needs.