Hello Dhruv.Parekh,
Thanks again for your question.
Pricing for vCPU is based on the allocated vCPU usage. With 0.5 vCPU provisioned, you'll be billed at half that rate.
Rather than manually calculating I will recommend you use the Azure pricing calculator. With this, you can have more accurate values https://azure.microsoft.com/en-us/pricing/calculator/
Regards,
Abiola
You can mark it 'Accept Answer' and upvote if this helped.