Usually, RTP is calculated by looking at the returns over a million or billion spins. The RTP given by a slot developer is pretty accurate as they have built the slot to match that RTP.