When you back a horse at a fixed price, that price is normally what you are paid, even if the horse is a bigger price by the off. Best odds guaranteed (BOG) is an offer from some bookmakers that changes this: if the starting price (SP) turns out bigger than the price you took, and your horse wins, you are paid at the SP instead.
The SP is the price in the on-course betting market when the race begins. In Britain the Starting Price Regulatory Commission's method takes a sample of bookmakers' prices and uses the median of them (Wikipedia, Starting price). You do not need to work it out yourself: the bookmaker settles the bet.
Two limits are worth holding on to. BOG only helps if the horse wins (or, where it applies to the place part, places), and it never takes a price away from you: if the SP is shorter, you keep the price you took.