Calculate chainmaille aspect ratios easily with this free tool. Input wire gauge and mandrel size to find the perfect AR for European, Japanese, and Persian weaves.
AI Generation Prompt
Chainmaille Aspect Ratio (AR) Calculator Specification
Overview
A high-precision, browser-based utility for jewelry artists and chainmaille enthusiasts to calculate the Aspect Ratio (AR) of jump rings. The tool eliminates manual math, helps users verify if their chosen wire gauge and mandrel size are suitable for specific weaves, and provides a clean, professional interface for rapid prototyping.
Technical Architecture
- Single-File: All HTML, CSS (Tailwind via CDN), and Vanilla JavaScript contained in one file.
- Storage: No
localStorageorcookies. All data is transient (in-memory). - Frameworks: Vanilla JS only (no React/Vue). Lucide icons for visual polish.
UI/UX Design
- Aesthetic: Clean, minimalist light-mode design. Use a "SaaS" color palette: whites (
#ffffff), subtle grays (#f9fafb), professional blue accents (#2563eb), and high-contrast text (#111827). - Layout:
- Header: Simple, centered title and tagline.
- Input Panel: A card-based layout featuring two main toggles: "Standard Gauge (AWG/SWG)" vs "Manual Millimeter Input".
- Live Preview: A dynamic output area that updates instantly as the user types (no submit button needed).
- Weave Compatibility Table: A section below the results showing common weaves (European 4-in-1, Japanese 6-in-1, Persian) and whether the calculated AR is "Too Tight", "Ideal", or "Too Loose".
Feature Set
- Unit Support: Toggle between Millimeters (mm) and Inches (in).
- Gauge Tables: Built-in lookup tables for standard AWG and SWG wire gauges.
- Live AR Calculation: Real-time formula:
Aspect Ratio = (Inner Diameter) / (Wire Diameter). - Responsive Design: Stack inputs vertically on mobile, switch to a dual-column layout on desktop.
- Accessibility: High-contrast labels, clear focus states for keyboard navigation, and semantic HTML5.
Implementation Directives
- No Popups: Do not use
alert()orconfirm(). Create a custom CSS-hiddendivmodal for any necessary notifications. - Animations: Use standard CSS
transition: all 0.3s ease-in-outfor input focus states and result updates to provide a high-end feel. - Security: Ensure all links use
target="_blank"andrel="noopener noreferrer". - State Management: Use a single JS object to store user inputs and update the DOM manually based on state changes to avoid framework overhead.
Spread the word
Files being used
Frequently Asked Questions
Everything you need to know about using this application.
Why is the aspect ratio so important in chainmaille weaving?
The aspect ratio (AR) is the critical mathematical relationship between the inner diameter of a jump ring and the thickness of the wire used to create it. If your aspect ratio is too low, the rings will be too tight and physically impossible to close or maneuver into a weave pattern. Conversely, if your aspect ratio is too high, the resulting weave will be loose, sloppy, and prone to tangling or falling apart. Mastering the AR ensures your chainmaille jewelry or armor is structural, flexible, and aesthetically professional.
What is the difference between AWG and SWG wire gauges?
AWG stands for American Wire Gauge, which is the standard system used primarily in North America. It is a logarithmic stepped system where the diameter decreases as the gauge number increases. This is the most common system for hobbyist jewelry supplies. SWG, or Standard Wire Gauge (also known as British Standard Gauge), measures slightly differently than AWG. It is crucial to check which system your wire supplier uses before calculating, as using the wrong table can result in rings that do not fit your intended weave pattern.
How do I correctly calculate the aspect ratio for my rings?
To calculate the aspect ratio, you divide the inside diameter (ID) of the jump ring by the wire diameter (WD). For example, if you have a ring with an inside diameter of 5mm and a wire thickness of 1mm, your aspect ratio is 5.0. Our tool automates this process by allowing you to input either standardized gauge numbers or manual measurements. It handles the unit conversions and math instantly, providing you with the exact AR value needed to match specific weave requirements.
Can I save my calculations using this tool?
This application operates entirely within your browser's memory without using cookies, localStorage, or server-side databases to ensure maximum privacy and compliance with strict sandbox security environments. Data does not persist if you refresh the page or close your browser tab. Because this tool is designed for quick, ephemeral utility, we recommend taking a screenshot of your results or copying the calculated AR values into a separate document if you need to keep a reference list for your current project.



