GIS rectangular-strata survey sampling calculator

Calculate allocation by eligible stratum area and seeded candidate locations [stratum ID,x,y] with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Use allocation by eligible stratum area and seeded candidate locations [stratum ID,x,y] to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Strata rectangles [ID,west,south,east,north]
[["A",0,0,10,10],["B",20,0,30,5]]
Excluded rectangles [west,south,east,north]
[[0,0,2,10]]
Total desired points
12
Reproducible seed
42
Allocation by eligible stratum area
[["A",80,7],["B",50,5]]
Seeded candidate locations [stratum ID,x,y]
[["A",2.52345174784,0.881250454113],["A",5.77281198232,2.22554265987],["A",3.75660197111,0.256639048457],["A",4.47281285888,1.18460003752],["A",8.73813705752,9.94634275325],["A",8.53202723665,4.99676728155],["A",6.42000946449,8.61456187442],["B",25.9646977647,0.453750782181],["B",21.40209798,4.75044138264],["B",29.2455544579,4.44734478137],["B",25.5050836992,0.9025827609],["B",25.5008547357,1.29483398283]]

Try another scenario

Strata rectangles [ID,west,south,east,north]
[["A",0,0,10,10],["B",20,0,30,5]]
Excluded rectangles [west,south,east,north]
[[0,0,2,10]]
Total desired points
12
Reproducible seed
43
Allocation by eligible stratum area
[["A",80,7],["B",50,5]]
Seeded candidate locations [stratum ID,x,y]
[["A",2.52732727211,1.78828810574],["A",2.61989470571,2.59570631897],["A",8.78318318166,0.346129655372],["A",3.82528839167,0.520827688742],["A",3.06928372011,1.8448889791],["A",6.1886218423,8.13273810083],["A",8.24796455912,5.56845380692],["B",22.9336401029,4.82644294039],["B",22.2313965857,3.8812484208],["B",22.415953544,3.71672694688],["B",22.2031816561,1.65338106803],["B",20.6051938375,1.31656033569]]
Calculation method

Calculation method

Allocation by eligible stratum area

Largest-remainder allocation proportional to rectangle area after clipped exclusion unions.

Seeded candidate locations [stratum ID,x,y]

LCG rejection sampling, up to100000 attempts; nonoverlapping strata only; excludes supplied rectangles.

Symbols and units
a
Strata rectangles [ID,west,south,east,north]
b
Excluded rectangles [west,south,east,north]
c
Total desired points
d
Reproducible seed

Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.

Assumptions & limits

Assumptions & limits

  • Rectangular nonoverlapping planar strata and rectangular exclusion zones. Samples are reproducible illustrative candidates; field access and ecological validity remain external. Quantities are deterministic calculations from supplied observations and assumptions; no external data is fetched. Supported limits: Finite inputs only; numeric fields bounded as labelled. Lists and JSON records are limited to 256 entries unless a stricter tool bound is stated. No automatic design approval, legal conclusion, treatment recommendation or safety certification. Total desired points: minimum 1, maximum 256. Reproducible seed: minimum 0, maximum 4294967295.
Are these inputs private?

These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.