Saved

Press the star next to a tool's name to save it.

All my tools

Flag Calculator

Use this flag calculator to find the standard sizes of the United States flag from any one measurement, in feet and inches or in metres and centimetres.

Restored your last values ·

Choose US or metric units and the one measurement you know, such as the flag height or the stripe width. Enter it and press Calculate to see every other measurement of a flag of the current United States design.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Choose the size you know, enter it, then press Calculate.

See full result

This flag calculator works out the standard proportions of the United States flag. Enter any one measurement, such as the height of the flag or the width of a stripe, and it gives the width, the blue union, the stripes and the stars, in feet and inches or in metres and centimetres.

How to use the flag calculator

  1. Choose US or metric units.
  2. Pick the size you know: the height or width of the flag, the union, a stripe or a star.
  3. Enter its value.
  4. Press Calculate to see the other sizes.

The proportions of the flag

The standard proportions of the United States flag are fixed in an executive order that is printed as a note to the flag chapter of the United States Code [1]. The note gives the height of the flag as 1.0, the width as 1.9, the height of the union as 0.5385, the width of the union as 0.76, the diameter of a star as 0.0616 and the width of a stripe as 0.0769 [1]. The calculator treats the number you enter as one of these and scales all the others from it.

Stripes and stars

The flag has thirteen horizontal stripes, alternately red and white, and a union of stars on a blue field [1]. The law adds one star for each new state, effective on the next Fourth of July after the state joins [2]. The current design has fifty stars in nine offset rows, where rows of six stars alternate with rows of five [3]. That gives five rows of six and four rows of five, which adds up to fifty, a check that is our own.

How the sizes are found

Every size is a fixed share of the height of the flag. The calculator divides the value that you give by the ratio of that measurement, which gives one unit, and then multiplies the unit by the ratio of each other measurement. This is our own working. For a flag that is 3 feet high, the unit is 3. The width is 1.9 times 3, which is 5.7 feet. The union is 1.6155 feet high and 2.28 feet wide, and a stripe is 0.2307 feet, or about 2.77 inches, wide.

Seven stripes, thirteen in all

The union is as tall as seven stripes, so its height is 7 over 13 of the height of the flag, which is 0.5385. This is our own check of the figure in the order, which gives it as 0.5385 [1]. In the same way, one stripe is 1 over 13 of the height, which is 0.0769. Thirteen stripes of 0.0769 add up to 0.9997, a little below 1.0 because the ratio is rounded to four places.

The gaps between the stars

The executive order note also lists two pairs of smaller values, 0.054 and 0.063, for the spacing of the stars, but the page we opened does not pair each value with its letter [1]. The calculator therefore uses 0.0538 for the vertical gap and 0.0633 for the horizontal gap, which are one tenth of the union height and one twelfth of the union width. This is our own working, and these figures round to the values in the note. They are shown in the results as the gaps E and F.

The size of a star

A star has a diameter of 0.0616 of the height of the flag [1]. This is about four fifths of the width of a stripe, as 0.8 times 0.0769 is 0.0615, close to the stated figure, which is our own check. For a flag that is 3 feet high, a star is 0.1848 feet across, or about 2.2 inches. The position of each star and the shape of its points are not given, because the sources we opened do not give them.

Working from another measurement

You do not have to start with the height. If you know the stripe width, such as 0.2307 feet, choose the stripe width and the calculator gives a flag of 3 feet by 5.7 feet. If you know that the flag must be 5 feet high, you get a width of 9.5 feet, which is 9 feet 6 inches, a size that is our own example of a large flag. In metric mode, a flag that is 1 metre high is 1.9 metres wide.

A 3 by 5 foot flag

A 3 by 5 foot flag is a standard size for flags that people fly privately, along with 2 by 3, 4 by 6 and 5 by 8 feet [3]. On the standard proportions, a flag 3 feet high would be 5.7 feet wide, not 5. A 3 by 5 foot flag has a ratio of 1 to 1.667, our own arithmetic, so it is not cut to the 1 to 1.9 shape. The pages we opened do not explain the difference, so check the shape stated by the maker if you need a flag of an exact proportion.

Colours

The result shows the red as the hexadecimal code #B22234, the white as #FFFFFF and the blue as #3C3B6E. These codes are our own choice for screens, shown for convenience. The law pages that we opened do not give colour codes, and Wikipedia lists other values for the same colours, such as #BF0A30 and #00205B for Old Glory Red and Blue [3]. Use the colour standard of your flag maker for a physical flag, as materials do not match a screen code exactly.

What the calculator does not cover

The calculator gives the sizes of the standard design only. It does not give the position of each star, the pattern of the stars in the union, the rules for how to display or fold a flag, or the flags of other countries. The text of the law that we read on the Cornell site still gives forty-eight stars [1], so the count of fifty comes from the Wikipedia article. Treat all results as a guide to the proportions and check them against the official specification for anything made for use.

Common mistakes

  • Using the wrong measurement. Check that you chose the same size, such as the height or the width, that you measured.
  • Expecting a 3 by 5 foot flag to fit. Its shape is 1 to 1.667, not 1 to 1.9.
  • Mixing feet and metres. Choose the unit system first.
  • Using a screen colour for cloth. Match the dye to the maker's standard.

What next

Use this often? Add Flag to your Home screen.

Frequently asked questions

What is a flag calculator?

A flag calculator finds the standard sizes of the United States flag from one known measurement, using the fixed proportions of the flag.

What are the proportions of the US flag?

The height is 1.0 and the width is 1.9, so the shape is 10 to 19, with a union of 0.5385 by 0.76.

How wide is a US flag that is 3 feet high?

On the standard proportions it is 5.7 feet wide.

How wide is each stripe?

One stripe is 0.0769 of the height of the flag, which is one thirteenth.

Why is a 3 by 5 foot flag not on these proportions?

A 3 by 5 foot flag has a shape of 1 to 1.667. The sources that we read do not explain why that common size differs.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Math Tools