1. What's the price of the hat?

2. What's the price for the hat?
3. How much is the hat?
4. How much do I owe you for the hat?
5. How much doe sthe hat cost?
==================
Are they all grammatical?

5. How much does the hat cost?

All others are fine. =)

Yes, all five sentences are grammatically correct. They all inquire about the price of a hat, but they are phrased slightly differently. Here's a breakdown of each sentence:

1. "What's the price of the hat?" - This is a direct, straightforward question asking for the price of the hat.

2. "What's the price for the hat?" - This sentence is similar to the first one but uses the preposition "for" instead of "of". It still asks for the price of the hat.

3. "How much is the hat?" - This question also asks for the price of the hat but is worded in a different way by using the phrase "how much".

4. "How much do I owe you for the hat?" - While this sentence does inquire about the price of the hat, it also implies that the person speaking wants to purchase the hat and is asking how much they need to pay.

5. "How much does the hat cost?" - Similar to the previous sentences, this question asks about the price of the hat but uses the phrase "how much does" to inquire about the cost.