Keep in mind with Viagra pricing is that many pharmacies get 100mg tablets for the same price per tablet as the 50mg tablets. That means that if you obtain a prescription for 100mg tablets but only actually need 50mg, you can split the tablets in half and essentially get twice as many doses for the same price.
https://www.edrugstore.com/blog/erectile-dysfunction/viagra/how-much-does-viagra-cost/