It's a little different.
1. At WDW and DLR if you use upgrade you pay the difference between what you paid and the full gate(ticket window) price.
2. Only at WDW if you buy the tickets at a discount and activate them by entering a park, and then upgrade you keep your savings, they upgrade from gate price to the upgrade gate price.