Hello Eugene Huang
We noticed your have rated low on one of the answer as not helpful. Thank you for taking time to share feedback.
If the virtual machine is deallocated, it should not incur any compute charges. However, storage charges may still apply for the disks attached to the VM.
Regarding the cost difference between a stopped VM and a running VM of the same type during the same time period, there could be several factors that contribute to the difference in cost. For example, if the VM is part of a virtual machine scale set, the cost may vary depending on the number of instances running at any given time. Additionally, if the VM is using premium storage, the cost may be higher than if it were using standard storage.
To figure out the cost of a VM, you can use the Azure Pricing Calculator. The calculator allows you to estimate the cost of running a VM based on factors such as the VM size, storage type and size, and the region where the VM is located. You can also use the Azure Cost Management and Billing service to monitor and analyze your Azure spending. The service provides detailed reports and insights into your usage and costs, and allows you to set budgets and alerts to help you manage your spending.
I hope this helps.
If the answer is helpful, request you to take a resurvey.