INVALID_SIZE_PRECISION

Coinbase returns INVALID_SIZE_PRECISION when the order size has more decimal places than the product's base increment allows. The same family has INVALID_PRICE_PRECISION for prices and PREVIEW_ versions for order previews.

Official docs opened 2026-11-16. PREVIEW_INVALID_SIZE_PRECISION. Plain-English guide, not financial advice.

What the official docs say

Coinbase Advanced Trade docs, Create Order: the failure reason enum lists INVALID_SIZE_PRECISION, INVALID_PRICE_PRECISION, PREVIEW_INVALID_SIZE_PRECISION and PREVIEW_INVALID_BASE_SIZE_TOO_SMALL.

Three common causes

  1. Too many decimals in base_size (XRP-USD allows 6 decimals in our data, DOGE-USD only 1).
  2. The size was computed from a float and not rounded to base_increment.
  3. The size is also below the product's base_min_size (a separate failure reason).

How to fix it

  1. Read base_increment, quote_increment and the minimums from the product endpoint.
  2. Round base_size DOWN to a multiple of base_increment; round price to quote_increment.
  3. Send both as strings.
  4. Use the preview endpoint first if you want to check an order without placing it.

Python (standard library only) example (runs as shown with sample numbers):

from decimal import Decimal, ROUND_DOWN

def floor_to_step(value, step):
    v, s = Decimal(str(value)), Decimal(str(step))
    return (v / s).to_integral_value(ROUND_DOWN) * s

print(floor_to_step("12.3456", "0.1"))     # DOGE-USD base increment in our data

Current limits for popular symbols

SymbolPrice step (tick)Quantity stepMinimum quantitySource and read date
Coinbase BTC-USD0.010.00000001-api.exchange.coinbase.com, read 2026-11-11
Coinbase ETH-USD0.010.00000001-api.exchange.coinbase.com, read 2026-11-11
Coinbase SOL-USD0.010.00000001-api.exchange.coinbase.com, read 2026-11-11
Coinbase XRP-USD0.00010.000001-api.exchange.coinbase.com, read 2026-11-11
Coinbase DOGE-USD0.000010.1-api.exchange.coinbase.com, read 2026-11-11
Coinbase ETH-BTC0.0000010.00000001-api.exchange.coinbase.com, read 2026-11-11

Check your numbers

Pick a symbol, type your quantity and see the valid rounded quantity.

Check this automatically before every order: AIKIT (free 1,000 calls)

Disclosure: AIKIT is our own product. It returns sourced exchange and broker rules (with the official source and read date) and checks bot code against them. Facts and checks only, not advice.

Questions people ask

What does INVALID_SIZE_PRECISION mean?

The order size has more decimals than the product allows.

What is the difference from INVALID_PRICE_PRECISION?

One is about size (base_size), the other about the limit price.

Does Coinbase publish the increment?

Yes, as base_increment and quote_increment on the product. The table shows the values we read, with source and date.

Sources

Symbol limits in the table: AIKIT facts read 2026-11-11 from the venue's own public API (links in the table). Exchange rules change; read the live values from the venue before you trade.

All error fixes. General information for education only. It is not financial advice, and trading can lose money.