Argentina: 90 days visa-free, extensions and the Uruguay border run
Citizens of Russia, Ukraine, the EU, the US and many other countries enter Argentina without a visa and get up to 90 days as tourists. The stay is set on entry, and that is the date to count by.
How the stay is counted depends on your citizenship
For most citizenships the 90 days run from the date of entry: leave and come back and a new entry usually gives you up to 90 days again.
Citizens of Russia and Ukraine, however, travel under an intergovernmental visa-waiver agreement with a different limit: no more than 90 days in any 180, as in Schengen. For them a couple of days in Uruguay does not give a fresh 90 — the days in the 180-day window keep adding up. For other citizenships check the Argentina page: some get less, for example 30 days.
Extending in the country
The tourist stay can be extended by another 90 days at the National Migration Directorate (Dirección Nacional de Migraciones). The extension costs a fee and must be requested before your current stay ends. Conditions and fees change — check them on the directorate's website before you go.
Leaving for Uruguay or Chile
Instead of extending, many people leave for a few days — most often by ferry to Colonia or Montevideo — and come back with a new stay. Where the stay runs from entry this is legal, but the border officer decides how long you get on entry. Under the 90-in-180 rule such a trip does not help — see above. With frequent short trips they may give you less than 90 days or ask about the purpose of your visit.
If you actually live in Argentina, a residence permit is more practical: while it is processed you get a temporary document (precaria) that lets you stay legally.
Overstaying
An overstay is fined on exit. It is not a disaster, but it is one more reason for questions on future entries — better avoided.
How to count
The stay calculator shows your last legal day: set 90 days and a window of 0 if your stay runs from entry, or a window of 180 if you are under the 90-in-180 rule. Check your citizenship on the Argentina page. To keep track of Argentina, Uruguay and every other country at once, add your trips in APUS.