Skip to content

Scale Bar Generator

Type the distance the bar should show, pick a unit and the number of segments, and the bar redraws as you change it. Download it as SVG for print or as PNG for slides and documents.

Dimensions and Values
500
5
4
Scale Type
Appearance
Style
Orientation
advertisement

How to make a scale bar

  1. Enter the distance the whole bar represents in Maximum value and its unit, for example 5 and km.
  2. Choose the number of segments. Five equal segments over 5 km give labels at 0, 1, 2, 3, 4 and 5 km.
  3. Pick a style, a line thickness and a colour that suit your map.
  4. Download the bar as SVG or PNG and place it on the map.
  5. Resize it in your document until its length matches the scale of the map. The table below shows how long it should be.

The length in pixels only sets the size of the file and how heavy the lines look next to the labels. The bar measures correctly once you give it the right length on the map itself.

advertisement

What is a scale bar?

A scale bar, also called a graphic scale or bar scale, is a small ruler drawn on a map or drawing. Each segment stands for a fixed distance in reality. To measure a road or a wall, hold a strip of paper along it, mark both ends and compare the strip with the bar.

A numeric scale such as 1:50,000 gives the same information as a ratio: 1 cm on the map is 50,000 cm, or 500 m, on the ground. The ratio only holds while the map is printed at its original size. Enlarge the map by 20 percent and 1:50,000 is wrong, while the bar grows with the map and still measures correctly. Maps that will be copied, zoomed or shared on screen should carry a bar for this reason.

How long should the bar be on the map?

Divide the real distance by the scale number. At 1:50,000, a bar for 5 km is 500,000 cm ÷ 50,000 = 10 cm long. The table gives the length of a 1 km bar at common map scales.

Map scale1 cm on the mapLength of a 1 km bar
1:10,000100 m10 cm
1:25,000250 m4 cm
1:50,000500 m2 cm
1:100,0001 km1 cm
1:250,0002.5 km4 mm

If you do not know the scale of your map, measure a distance you know, such as a street between two crossings, and let the scale calculator work out the ratio. To turn a distance measured on a map into a real one, use the map distance calculator.

Choosing the distance and the segments

A bar is easiest to read when its labels are round numbers. Pick a total that divides evenly, such as 1, 2, 5, 10, 20, 50 or 100 of your unit, and split it into 4 or 5 segments. A bar about a quarter of the map width is long enough to measure with and leaves the map readable.

Equal segments suit most maps and plans. With the exponential division each segment is twice as long as the one before, so the first ones are short. It helps when readers need to measure short distances at one end of the bar and long distances at the other.

Scale bars on plans and images

Architects put a bar on plans that will be printed at different sizes, usually in metres or feet. In microscopy and macro photography, a bar in µm or mm shows how large the subject is, since the magnification of an image changes as soon as someone resizes it. For drawings made to a known ratio, the online scale ruler shows a ruler at that scale on your screen.

SVG or PNG?

SVG is a vector file. It stays sharp at any size and opens in Illustrator, Inkscape, Figma, QGIS layouts and recent versions of Word, so use it for print. The PNG file is twice the pixel size set in the generator and has a transparent background. Use it for slides, web pages and programs that do not accept SVG.

Frequently asked questions

A scale bar is a line divided into segments that shows how a length on a map or drawing relates to the real distance. Its labels tell you what each segment stands for, for example 1 km or 10 m.

A numeric scale such as 1:25,000 is a ratio that is only correct at the original print size. A scale bar is drawn on the map, so it is enlarged or reduced together with it and stays correct on a screen, a photocopy or a poster.

Divide the distance the bar represents by the scale number of the map. A 5 km bar on a 1:50,000 map must be 10 cm long. Download the bar and resize it in your layout program until it has that length.

Four or five segments with round labels are enough for most maps. A 2 km bar with 4 segments, for example, is labelled 0, 0.5, 1, 1.5 and 2 km.

Type any unit into the Unit field: km, m, mi, ft, nautical miles or µm for microscope images. The unit appears after the last label. The maximum value can be a decimal, such as 0.5.

No. Both the SVG and the PNG have a transparent background, so the bar sits directly on your map. The white segments of the double and single row styles are filled white, so they stay visible on dark backgrounds.