# Maximum size of a <canvas> element in HTML

HTMLWeb DevelopmentFront End Technology

All web browsers limit the canvas element’s width, height, and area.

For Google Chrome, the maximum allowable width and height are 32,767 pixels and the maximum allowable area is 268,435,456 pixels.

For Firefox, the maximum allowable width and height are 32,767 pixels and the maximum allowable area is 472,907,776 pixels.

For IE, the maximum allowable width and height are 8,192 pixels.

For IE Mobile, the maximum allowable width and height are 4,096 pixels.

Published on 20-Mar-2018 10:34:24