Thanks for reaching out to Microsoft Q&A.
This might give you a perspective on how the pricing is calculated by azure.
https://stackoverflow.com/a/56746083
You can also predict the approximate cost you might incur using the pricing calculator below
https://azure.microsoft.com/en-us/pricing/details/azure-sql-database/single/#pricing
Please 'Upvote'(Thumbs-up) and 'Accept' as answer if the reply was helpful. This will be benefitting other community members who face the same issue.