Is creating an apple ID free?

I want to be able to get apps on my iphone 4 so i need to create an apple ID. But is it free just to create one? I don't intend to getting any apps that cost, just the free ones. I want to be sure that creating an apple ID doesn't cost. Also i'm on contract so will they ask for credit card details or will they just leave it because they already have credit card details because of my contract.

Creating Apple ID is completely free. They ask you for the Credit Card so that if you ever need to buy an app or a song, you can pay. Don't worry about anything if you aren't gonna pay for any apps. Just put the credit card info and you'll be set

Yes it it! But, If you want to buy certain applications It will cost iTunes money. There's 10, 25, 50, 100 iTunes Cards you could buy at some stores. Other than that it's free to make a apple ID.