As an example, let's say an initial margin amount of $3,700 allows an investor to enter into a futures contract for 1,000 barrels of oil valued at $45,000—with oil priced at $45 per barrel. If the price of oil is trading at $60 at the contract's expiry, the investor has a $15 gain or a $15,000 profit. The trades would settle through the investor's brokerage account crediting the net difference of the two contracts. Most futures contracts will be cash settled, but some contracts will settle with the delivery of the underlying asset to a centralized processing warehouse.
In terms of valuing option contracts, it is essentially all about determining the probabilities of future price events. The more likely something is to occur, the more expensive an option would be that profits from that event. For instance, a call value goes up as the stock (underlying) goes up. This is the key to understanding the relative value of options.
On the other hand, commodity option buyers are exposed to limited risk and unlimited profit potential, but they also face dismal odds of success on each individual speculation. For this reason, we often refer to the practice of buying options in the commodity markets as the purchase of a lottery ticket. It probably won’t pay off but if it does the potential gain is considerable. Conversely to the commodity option seller, an option buyer views the position as an asset (not a liability) until it is sold or expires. This is because any long option held in a commodity trading account has the potential to provide a return to the trader, even if that potential is small.
However, options are not the same thing as stocks because they do not represent ownership in a company. And, although futures use contracts just like options do, options are considered lower risk due to the fact that you can withdraw (or walk away from) an options contract at any point. The price of the option (its premium) is thus a percentage of the underlying asset or security. 
×