Apple releases some margin information as part of a court case. The iPhone margin was reported to vary between 49% and 58%. It's not clear if that varied over time of models. This shows the iPhone margin is much higher than on other Apple products, particularly iPads which had margins between 23% and 32%.
Apple prices iPad much more competatively. Why? Because they have to. Apple's pricing strategy is clearly US centric at this point. In the US the price of the iPhone is obfuscated by the carrier subsidy. Consumers generally aren't aware that they are shelling out $650 for the phone because they're only putting down $200 up front and the other paymentis routed through their carrier.
BTW, a 58% margin would suggest total cost to Apple would be $275 when all other expenses are taken into consideration.
The margins quoted here are almost certainly gross margin. It's the only one that makes sense when comparing Company X with Company Y. Net margin can be skewed by all manner of company/situation-specific items, especially to do with tax, debt servicing and so on...