Not even close.
A military M80 [0] is ~5g of flash powder, an inconsequential amount of low-explosive albeit enough to seriously injure yourself. The consumer "M80" are even weaker. These are used to simulate real explosions by the military.
The smallest standardized military demolition charge contains ~110g of TNT, in a similar small cylindrical format. There are multiple orders of magnitude difference in power between an M80 and these demolition charges.
A "quarter stick of dynamite" isn't a standard thing. But if it was, it would probably come in around 50g of TNT equivalent.