when you run the checkout wizard, the checkout page is created to collect the shipping address.
The cehckout page posts the information to the confirm page. on the confirm page, the shipping rate lookup code runs to calculate the shipping using the shipping address from the checkout page.
The shipping rate will then be displayed on the confirm page.