Nonnegative least-squares calculator

Your numbers

One matrix row per line; commas or spaces separate columns. Use integers, decimals with up to six places, or fractions. Entries and fraction components are bounded by 1,000,000.
One matrix row per line; commas or spaces separate columns. Use integers, decimals with up to six places, or fractions. Entries and fraction components are bounded by 1,000,000.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

QuickCalculators · Full calculator and methodology ↗