The type of photography that you are planning to use is an important decision factor. Here we have evaluated the Tamron 45mm F1.8 Di VC USD and the Canon 40mm f2.8 STM for their suitability to various photography scenarios:
Size and Weight Comparison
Size of a lens is an important deciding factor when comparing two lenses.Tamron 45mm F1.8 Di VC USD is the longer of the two lenses at 92mm. The Canon 40mm f2.8 STM with a length of 22mm is 70mm shorter. Besides being longer, the Tamron 45mm F1.8 Di VC USD also has a larger diameter of 80mm compared to Canon 40mm f2.8 STM's 68mm diameter.
Weight of a lens is as important as its external dimensions, especially if you are planning to hand hold your camera and lens combination for longer periods. Canon 40mm f2.8 STM weighs 130g, 75% (410g) lighter than the Tamron 45mm F1.8 Di VC USD's weight of 540g.
Below you can find the dimension and weight table of the 'Standard Prime Lenses in Canon EF Mount for size comparison purposes.
Standard Prime Lenses in Canon EF Mount for Size Comparison
Both Tamron 45mm F1.8 Di VC USD and Canon 40mm f2.8 STM has the same Canon EF lens mount. Some of the latest released cameras that are compatible with the Canon EF lenses are Canon 1D X III, Canon 6D MII and Canon 5D MIV.
Tamron 45mm F1.8 Di VC USD is also available in Nikon F (FX) and Sony Alpha mounts.
Tamron 45mm F1.8 Di VC USD is a prime lens with fixed focal lenght of 45mm. When it is mounted on an APS-C sensor camera with 1.6x crop, it provides an 35mm (FF) equivalent of 72mm.
Canon 40mm f2.8 STM is a prime lens with fixed focal lenght of 40mm. When it is mounted on an APS-C sensor camera with 1.6x crop, it provides an 35mm (FF) equivalent of 64mm.