How much change is in a vending machine?

There is only one way to find out – all you need is a giant pile of money and a vending machine that sells soda for $1.25: If you put in a dollar note and press the “return change” button, you will get the dollar note back directly. If you put in two dollar notes (the maximum it takes) at a time, it will give you change for the two dollars.

Our machine had $29 of change. It started out with 25¢ coins, and after a while returned a combination of different coins (25¢ & 10¢, then 10¢ & 5¢), finally switching to all 5¢ coins at the end.

In total, it had

  • 25¢ x 57 = $14.25
  • 10¢ x 114 = $11.40
  • 5¢ x 67= $3.35

After this, the machine refused to take bills, so it was either full with bills or, more likely, out of change.

But actually, it might still contain up to 95¢ of change – today’s homework is to find out how to measure the remaining change in the machine!

36 thoughts on “How much change is in a vending machine?”

  1. Also interesting: If you throw in quarters and press the coin return, you will get different quarters back. We cycled the quarters of three vending machines in this building and got 41 of the 50 state quarters this way. Now over to building two…

    Reply
  2. Didn’t anyone look at you strangely while doing all that?

    (Anyway, all the vending machines I’ve seen seem to hold your money separately before vending, or refunding.

    Reply
  3. Regarding different coins back:
    AFAIK vending machine don’t give out customers coins at all.

    If a customers insert bogus money and the machine accept it, its just a loss situation for the vending machine owner. If the machine gives a customer bogus money (e.g. from another customer) the vending machine owner is liable.
    So vending machine only returns your money at all without any products or change given to you or the machine gives back controlled and trusted change.

    Reply
  4. Our vending machines at work are a bit temperamental. I work in a school, and they like to eat money without even registering it ever went in. The staff vending machine this afternoon took my 50p coin, gave me a 25p drink and spat out 45p in change which was quite nice. Normally it takes my 50p, fails to vend a cup and sprays hot chocolate on the floor then gives me 25p change.

    In a previous job I quickly discovered the vending machine would give a free product if I kept hitting the coin return button during the vending cycle.

    … then it gave the money back too.

    Reply
  5. @foolala: You are wrong.

    I did a part time job while studying, and I had to program a similar system. All the coins of one type are put in something called a “hopper”. If you enter new coins, they fall into the hopper. If the system wants to give money back, it gives money from the hopper.

    The hopper in that machine I worked on back then was very similar to the way German “Lotto” machines work: It has a belt which just gets ANY coin out of the hopper and throws it out.

    Thus, you do not really “cycle” in a strictly sense through all the coins, but the coins you put into and which come out are not same.

    Reply
  6. “Today’s homework is to find out how to measure the remaining change in the machine!”

    Put in $2, buy a drink; if it returns < 75c, now you know. If it returns 75 c, put in another $2, buy another drink; easy.

    Reply
  7. Also, there is obviously more than one way to find out; yours is just the cheap quick easy way. The expensive thirsty way is to keep buying drinks for $2 until you stop getting change.

    Reply
  8. “Today’s homework is to find out how to measure the remaining change in the machine!”

    Keep buying sodas for $1.30, (4 quarters, 3 dimes) until you stop getting nickels back. Hey, you’ve got enough change sitting around.

    Reply
  9. > “Today’s homework is to find out how to measure the remaining change in the machine!”

    Get the owner to open the machine.

    What? You didn’t say we couldn’t… And I even skipped all the illegal options…

    Reply
  10. Try increasingly granular. Buy with two $1 bills until no more, then use only quarters, then only dimes, finally only nickels. At that point you’ve either broken the machine or it no longer has anything to dispense.

    Reply
  11. How did you manage to receive 29$ of change by putting two dollars in at a time?
    Our local chips & cookies dispenser claims to accept up to 100$ bills, I didn’t have any on hand to try but it did redeem a 5$ bill in coins. It also exhibits the same behavior as your machine: when you insert coins, the ones it gives back are not the same ones that were inserted.

    Reply
  12. Saint Petersburg State Pediatric Medical University is often considered by students looking for medical education with practical training and a focused academic environment. It is a known option for those exploring study opportunities abroad in the field of medicine.

    Reply
  13. Black granite countertops are a great choice for homeowners who want a strong, stylish, and long-lasting surface for their kitchen or bathroom. Their deep natural shade gives any space a premium look, while the durable stone surface handles daily use, heat, and regular cleaning with ease. I like how black granite works well with both modern and traditional interiors, making it a flexible option for many home designs. Albritish Stone offers quality stone worktop solutions for people looking for a neat finish, reliable fitting, and elegant countertop designs that improve the overall look of the space.

    Reply
  14. Choosing the right contractor matters when planning a home upgrade. Home Remodeling Allen services help homeowners improve comfort, layout, design, and property value with professional remodeling solutions. From kitchen updates and bathroom renovations to flooring, lighting, painting, and full interior improvements, expert planning can make every space more useful and attractive. Home Remodeling Allen also helps reduce costly mistakes by selecting suitable materials, proper designs, and reliable installation methods. Homeowners should compare experience, work quality, timelines, and customer support before starting any remodeling project.

    Reply
  15. Choosing the right contractor matters when planning a home upgrade. Home Remodeling Allen services help homeowners improve comfort, layout, design, and property value with professional remodeling solutions. From kitchen updates and bathroom renovations to flooring, lighting, painting, and full interior improvements, expert planning can make every space more useful and attractive. Home Remodeling Allen also helps reduce costly mistakes by selecting suitable materials, proper designs, and reliable installation methods. Homeowners should compare experience, work quality, timelines, and customer support before starting any remodeling project.

    Reply
  16. This is a fun, almost experimental look at how everyday systems like vending machines quietly handle simple financial logic behind the scenes. It’s similar in spirit to Marathi birthday traditions, where small, structured gestures carry more meaning than they first appear to have.
    I recently adapted a traditional blessing for a family birthday and it felt sincere.
    A practical takeaway is to use birthday wishes for sister with a simple, clear message so the intent stays transparent and easy to understand, just like well-designed systems.

    Reply
  17. DLIFE Home Interiors is recognized among best interior designers in Kottayam, offering fully customized home interior solutions that combine style, efficiency, and long-lasting quality. With factory-made modular units, expert design consultation, and seamless installation services, DLIFE transforms homes into functional, aesthetically refined spaces. Trusted across Kerala and especially in Kottayam for its professional execution and design excellence, DLIFE continues to set the standard in modern residential interiors.

    Reply
  18. University of Messina is often considered by students who want to study in Italy in a structured and internationally oriented academic environment. It is useful to review the available courses, admission requirements, tuition fees, and language of instruction before applying.

    Reply
  19. We provide IGNOU project reports, solved projects, sample, dissertations, synopsis, and guides pdf download. Book IGNOU project sample in budget.

    Reply
  20. Twisting Yarns | Expert Himalayan Wool & Fabric Supplier in India India’s expert B2B supplier of pure local Himalayan sheep wool, Angora & Merino Fabrics supplier. Mastery in heavy-count hand-spun yarns & bespoke weaving. Partner with us

    Reply
  21. This is the only site I trust for my daily Satta King updates. The interface is clean, fast loading and works perfectly on mobile even with slow internet connection. No login required which is very convenient.

    Reply
  22. I found this article very informative and easy to understand. The detailed explanation and regular updates make content more useful for readers. I also follow GaliResult for daily charts and live market updates online.

    Reply
  23. Many students look at Caucasus International University while comparing study opportunities abroad. Checking the course format, language of instruction, and overall cost can help in making a better decision.

    Reply
  24. 12A and 80G Registration helps NGOs receive tax benefits and build trust among donors. At NGOExperts, we assist organizations with proper documentation, application filing, and legal compliance for smooth approval. Our legal team provides reliable support throughout the process, helping NGOs secure registration without complications and continue their charitable activities with confidence.

    Reply
  25. Viral post! Experience cricket betting like never before. cricbet99 brings live matches, exclusive bonuses, and fair play. Click the link. Register now.

    Reply
  26. Many participants wonder how hackathon winners are chosen during competitions. Judges usually evaluate projects based on innovation, technical implementation, creativity, presentation, and problem-solving impact. Where U Elevate
    helps organizers maintain fair evaluation standards for successful hackathon events.

    Reply

Leave a Comment