I am configuring an SX1276 module, and the library lets me set spreading factor 7 to 12, bandwidth 125, 250 or 500 kHz and coding rate 4/5 to 4/8. I know that a higher spreading factor gives more range and less speed, but I would like to calculate the actual bit rate and how long a 10-byte packet stays on air for a given combination.
What are the formulas, and why does each step in spreading factor cost so much airtime?




