A contract for difference is a form of derivative that allows an investor to have exposure to the change in value of an investment without having to take legal ownership of it. The contract for difference works as a legal agreement that the seller will pay the buyer the difference between the current value of the investment and its value at an agreed time in the future or vice versa if the value of the asset has fallen.