Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to calculate perimeter of polygons with the field calculator of qgis, like there is for area calculation?enter image description here

share|improve this question
up vote 11 down vote accepted

Try using $perimeter

The feature is there, just not exposed via the UI.

Note: I'm currently working on a better UI then the current one that will expose all the possible functions. See

share|improve this answer
Although I posted an answer, I like this one better because you don't need to create a new shapefile just to update or add a new column in the attribute table. – maning Aug 2 '11 at 11:49
Btw, where can one find a comprehensive list of all possible but unexposed features like $perimeter? – SAnderka Aug 2 '11 at 16:11
Clicking on the Help button in the field calculator should give you a up to date list. – Nathan W Aug 3 '11 at 1:34

You can use the Ftools/Vector Plugin. Vector > Geometry Tools > Export/Add Geometry Columns. This creates a new shapefile the with Area and Perimeter columns.

enter image description here

share|improve this answer
Sneaky but Awesoem – dassouki Aug 2 '11 at 11:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.