guestnet calculation