T
THINKFORU
Submit Feedback

Extract Numbers from Text - Pull Integers, Decimals, Sum & Average

Extract Numbers from Text | Pull Integers, Decimals, Sum & Average

Extract Numbers from Text

Save on Google
Count: 0 Sum: 0 Average: 0
Mixed Text, Receipt, or Data Dump:
Extracted Numbers (0):

Extract Numbers from Text pulls integers, decimals, and signed values out of messy receipts, invoices, chat messages, and log files while calculating their instant Sum and Average in real time. Accountants, students, data analysts, and shoppers use browser-based number extraction to total up expenses, audit exam scores, and isolate clean numeric lists without manual spreadsheet cleanup. Click Extract Numbers or toggle Negatives and Dedupe above to slide straight to your extracted list and copy it in one tap. Browse the 80 ready-to-test number extraction samples below or tap any row to load it above.

Quick Refrences Ready-to-Test Number Extraction, Sum & Average SamplesAction
1. 4.50, 8.25, 2.25 (Receipt Total → Sum: 15, Avg: 5)
2. 92, 88, 95, 85 (Exam Scores → Sum: 360, Avg: 90)
3. 12.5, -3.5, 6.0, -5.0 (Signed Decimals → Sum: 10, Avg: 2.5)
4. 101, 250, 102, 450, 103, 300 (Invoice IDs & Amounts → Sum: 1306)
5. 14.2, 18.8, 12.0, 15.0 (API Latency → Sum: 60, Avg: 15)
6. 480, 65, 155 (Grocery Bill → Sum: 700, Avg: 233.33)
7. 8500, 10200, 7300, 10000 (Fitness Steps → Sum: 36000, Avg: 9000)
8. 120.50, -40.25, 89.75, -20.00 (Trading P&L → Sum: 150, Avg: 37.5)
9. 12.5, 8.5, 4.0 (Package Dimensions → Sum: 25, Avg: 8.33)
10. 5, 8, 13, 4 (Agile Story Points → Sum: 30, Avg: 7.5)
11. 42.5, 38.0, 45.5, 34.0 (Fuel Consumption → Sum: 160, Avg: 40)
12. 4.8, 4.9, 4.7, 5.0 (Product Reviews → Sum: 19.4, Avg: 4.85)
13. 50, 100, 25, 25, 200 (Fundraiser Total → Sum: 400, Avg: 80)
14. 1, 15, 2, 22, 3, 18 (Game Scoreboard → Sum: 61)
15. 1, 12.4, 2, 15.6, 3, 18.0, 4, 22.0 (Revenue Report → Sum: 78)
Frequently Asked QuestionAnswer
Does Extract Numbers from Text handle decimals and floating-point precision?Yes! It extracts both whole integers (42) and decimal numbers (19.99, 0.75) and rounds Sum and Average cleanly to eliminate JavaScript floating-point artifacts.
How does the "Negatives: ON" toggle treat hyphenated text like "Order-105"?When "Negatives: ON" is active, a minus sign directly before a digit (such as -25.5) is parsed as a negative number; toggle "Negatives: OFF" if you want to ignore minus signs and extract positive magnitudes only.
Can I copy the extracted numbers as a comma-separated list for Excel or Python?Yes! Click the "Comma (, )" button in the top control bar to join all extracted numbers with commas so you can paste them straight into arrays, formulas, or calculators.
How do I test any of the 80 samples in the top number extractor?Tap on the text of any row in the 80-item table above to load that mixed text snippet into the input box and view its extracted numbers, Sum, and Average.