In a nutshell, the maximum width and the maximum height of your custom shape will be the size you need to input to generate your price.
The example to the left shows you how to do this - we would recomend drawing a box around the very outside of your artwork to give you your final size.