The formulas provided are for a standard flag ratio. If your flag has different proportions, you will need to adjust the formulas accordingly.