XAG

XAGSilver (troy ounce)

metal
ISO Code: XAGNumeric: 961ISO minor unit: N.A.Region: Global

How to implement XAG safely

Silver uses ISO 4217 alpha code XAG and numeric code 961.

XAG appears in the current ISO 4217 list published 2026-01-01. ISO 4217 does not assign XAG a minor unit. The 4-digit precision used in examples is a display choice, not an ISO storage scale. Configure Intl.NumberFormat with currency: "XAG"; do not hardcode the symbol or assume every currency uses two decimals.

XAG is the reference symbol in this dataset. Store XAG alongside the amount so exports, payments, and accounting data remain unambiguous. Format for display only after choosing the user's locale, because symbol placement and separators belong to the locale rather than the currency record.

XAG represents a precious-metal unit rather than a national cash currency, so it has no country assignment in this directory. The record was checked against the SIX ISO 4217 source on 2026-07-19; recheck status-sensitive records when the Maintenance Agency publishes a new list.

  • Status: active
  • Numeric code: 961
  • ISO minor unit: not applicable
  • Verified: 2026-07-19

Reviewed 19 July 2026. Sources: SIX ISO 4217 current list

Formatting Examples

Valueen-US
1XAG 1.00
9.99XAG 9.99
100XAG 100.00
1234.56XAG 1,234.56
1000000XAG 1,000,000.00

Intl.NumberFormat

JavaScript
// Basic XAG formatting
new Intl.NumberFormat('en-US', {
  style: 'currency',
  currency: 'XAG',
}).format(1234.56);
// → "XAG 1,234.56"

// Minimum/maximum fraction digits
new Intl.NumberFormat('en-US', {
  style: 'currency',
  currency: 'XAG',
  minimumFractionDigits: 4,
  maximumFractionDigits: 4,
}).format(99);
// Example display precision: 4 decimal places
// ISO 4217 minor unit: not applicable

// ISO 4217 defines no integer storage scale for XAG.
// Choose and document product-specific precision.