Polygonal systems formed by thermal contraction cracking are complex landscape features widespread in terrestrial periglacial regions. The manner in which cracking occurs is controlled by various environmental factors and determines dimension, shape, and orientation of polygons. Analogous small-scale features are ubiquitous in Martian mid-and high-latitudes, and they are also inferred to originate from thermal contraction cracking. We studied the geomorphometry of polygonally-patterned ground on Svalbard to draw a terrestrial analogy to small-scale polygonal structures in scalloped terrain in Martian mid-latitudes. We performed a comparative quantitative terrain analysis based on high-resolution stereo remote-sensing data (HRSC-AX and HiRISE) in combination with terrestrial field data and multivariate statistics to determine the relationship of polygon geomorphometry to local environmental conditions. Results show that polygonal structures on Svalbard and in Utopia Planitia on Mars are similar with respect to their size and shape. A comparable thermal contraction cracking genesis is likely. Polygon evolution, however, is strongly related to regional and local landscape dynamics. Individual polygon dimensions and orthogonality vary according to age, thermal contraction cracking activity, and local subsurface conditions. Based on these findings, the effects of specific past and current environmental conditions on polygon formation on Mars must be considered. On both Earth and Mars, the smallest polygons represent young, recently-active low-centered polygons that formed in fine-grained ice-rich material. Small, low-centered Martian polygons show the closest analogy to terrestrial low-centered ice-wedge polygons. The formation of composite wedges could have occurred as a result of local geomorphological conditions during past Martian orbital configurations. Larger polygons reflect past climate conditions on both Earth and Mars. The present degradation of these polygons depends on relief and topographical situation. On Svalbard the thawing of ice wedges degrades high-centered polygons; in contrast, the present appearance of polygons in Utopia Planitia is primarily the result of contemporary dry degradation processes.