Equal Circular Spacing Calculator: Position Points Evenly
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
This calculator works out the coordinates of points placed at equal angular intervals around a circle, given the circle’s center, radius, and the number of points. You enter the center coordinates, radius, and count, and you get the x and y coordinates of each point, starting from the rightmost point and moving counter-clockwise. The first output is the angle between adjacent points, and the full list of coordinates follows.
Formula
The core formula for equal circular spacing is simple: divide 360° by the number of points to get the angular step. Then, for each point i (starting at 0), the coordinates are:
xi = cx + r × cos(i × θ)
yi = cy + r × sin(i × θ)
where:
- cx, cy = center coordinates (same units as radius)
- r = radius (any unit, but consistent)
- θ = 360° / n, the angular step in degrees
- i = point index from 0 to n−1
This places the first point at the 3 o’clock position (0°), and subsequent points counter-clockwise. If you need the first point at the top (12 o’clock), add 90° to the angle: use cos(i×θ + 90°) and sin(i×θ + 90°).
Worked Example
Using the default values: center (0, 0), radius 10, 8 points.
- Angular step: θ = 360° / 8 = 45°
- Point 0 (i=0): x = 0 + 10×cos(0°) = 10, y = 0 + 10×sin(0°) = 0 → (10, 0)
- Point 1 (i=1): x = 10×cos(45°) ≈ 7.07, y = 10×sin(45°) ≈ 7.07 → (7.07, 7.07)
- Point 2 (i=2): x = 10×cos(90°) = 0, y = 10×sin(90°) = 10 → (0, 10)
- Point 3 (i=3): x = 10×cos(135°) ≈ −7.07, y = 10×sin(135°) ≈ 7.07 → (−7.07, 7.07)
- Point 4 (i=4): x = 10×cos(180°) = −10, y = 0 → (−10, 0)
- Point 5 (i=5): x ≈ −7.07, y ≈ −7.07 → (−7.07, −7.07)
- Point 6 (i=6): x = 0, y = −10 → (0, −10)
- Point 7 (i=7): x ≈ 7.07, y ≈ −7.07 → (7.07, −7.07)
These are the vertices of a regular octagon inscribed in a circle of radius 10.
When to Use This Calculator
Equal circular spacing appears in many practical tasks:
- Bolt hole patterns – laying out flange holes or wheel lug nuts
- Speakers or lights – placing them evenly on a circular ceiling or stage
- Gardening – positioning plants around a circular bed
- Games and graphics – placing characters or objects in a ring
- Machining – drilling holes at equal angles on a circle
- Data visualization – drawing radar charts or circular plots
Any time you need points symmetrically arranged around a center, this is the formula to use.
How to Read the Results
The angle step tells you the separation between adjacent points. The coordinates list gives the exact position of each point, assuming the center is at (cx, cy). If you are working in inches, feet, meters, or any other unit, the coordinates will be in that same unit. For example, with radius 10 and 8 points, the points form a regular octagon. With 12 points, you get a regular dodecagon. The more points, the closer they are to each other along the circumference.
The chord length (straight-line distance between adjacent points) can be calculated as: chord = 2 × r × sin(θ/2). For the default example, chord = 2 × 10 × sin(22.5°) ≈ 7.65 units. This is useful if you need to know the spacing between holes or objects.
Common Mistakes and Pitfalls
- Using radians instead of degrees – Many programming languages use radians by default. If you plug 45 into a cosine function expecting radians, you get a wrong result. Always convert to radians (or use degree mode).
- Forgetting the center offset – The formula adds the center coordinates. If you omit them, you get points around (0,0) only.
- Starting angle – This calculator starts at 3 o’clock. If your project expects the first point at the top, add 90° to the angle.
- Rounding too early – Round only the final coordinates, not intermediate steps, to avoid accumulated errors.
- Mixing units – If radius is in inches, center coordinates must also be in inches. Mixing feet and inches gives nonsense.
Limitations and Alternatives
This formula assumes a perfect circle and points on the circumference. If you need points inside the circle (like a spiral), or on an ellipse, the math changes. For elliptical spacing, replace r with semi-axes a and b. For random but even distribution on a disc, you would need a different algorithm (e.g., Poisson disk sampling). This calculator also does not handle 3D spheres; for that, you need spherical coordinates (latitude/longitude). For very large n (thousands), the coordinates are still accurate but the list becomes unwieldy – you might prefer to generate them programmatically.
Frequently Asked Questions
How do I get the first point at the top instead of the right?
Add 90° to the angle in the formula. So use x = cx + r×cos(i×θ + 90°) and y = cy + r×sin(i×θ + 90°). This rotates the entire pattern by 90° counter-clockwise, placing the first point at 12 o’clock.
What is the distance between adjacent points?
The straight-line distance (chord) is 2 × r × sin(180°/n). For example, with radius 10 and 8 points, chord = 20 × sin(22.5°) ≈ 7.65. The arc distance along the circle is (360/n) × (π/180) × r = (2πr)/n.
Can I use this for bolt hole circles?
Yes, this is exactly the math used for bolt hole patterns. Just enter the bolt circle radius (distance from center to hole centers) and the number of holes. The coordinates tell you where to drill, provided you set a reference point.
What if I need points on a circle but not equally spaced?
If the angles are not equal, you cannot use this simple formula. You would need to specify each angle individually and then compute coordinates with x = cx + r×cos(angle) and y = cy + r×sin(angle) for each.
Does the size of the circle affect the angle step?
No, the angle step depends only on the number of points, not the radius. But the actual distance between points increases with radius. A larger circle with the same number of points will have larger gaps.
Can I use this for 3D points on a sphere?
No, this is strictly 2D. For a sphere, you need spherical coordinates. Equal spacing on a sphere is more complex; common patterns include latitude/longitude grids or Fibonacci spirals.
Related
Formula used
in cx | Center X | - | 0 | 0
in cy | Center Y | - | 0 | 0
in r | Radius | - | 10 | 0
in n | Number of points | - | 8 | 3
out angle_step | Angle between points | degrees | 360 / n | 2
out points | Point coordinates | - | "(" + round(cx + r * cosd(0), 2) + ", " + round(cy + r * sind(0), 2) + "), (" + round(cx + r * cosd(angle_step), 2) + ", " + round(cy + r * sind(angle_step), 2) + "), (" + round(cx + r * cosd(2 * angle_step), 2) + ", " + round(cy + r * sind(2 * angle_step), 2) + "), (" + round(cx + r * cosd(3 * angle_step), 2) + ", " + round(cy + r * sind(3 * angle_step), 2) + ")" | 0Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.