If the can were just a cylinder, its dimensions would be 21/2" wide by 413/16" tall. But the can is not just a cylinder. It is tapered at the top and bottom. The top rim is only 23/32" in diameter...
Wheelchairs need a minimum 32" door for a straight in approach. If the doorway is located in the typical hallway and requires turning a wheelchair, you'll need a 36" door.