Mikhail Tukhachevsky ordered a general retreat toward the Bug River, but by then he had lost contact with most of his forces near Warsaw, and all the Bolshevik plans had been thrown into disarray by communication failures.
The Red Army's defeat was so great and unexpected that, at the instigation of Piłsudski's detractors, the Battle of Warsaw is often referred to in Poland as the "Miracle at the Vistula".
The Russian commanding officer Mikhail Tukhachevsky took this as an opportunity to establish a new defensive line along the Niemen River, initially safe from Polish forces.
By August, the Poles mobilised almost 1 million men, which allowed them to reinforce most front-line units to approximately 50-60% of their nominal strength.
Moreover, with fresh forces arriving to the front almost every week the reserves of the Polish C-i-C were sufficient for waging an offensive war.
Also, the Russian air forces were almost non-existent while the Polish Army could use its few aeroplanes to successfully disrupt enemy moves and conduct intelligence operations.
After the arrival of 68,000 reinforcements in August and additional 20,500 in September, the forces of Tukhachevsky reached approximately 20 to 40% of their nominal strength.
However, fresh reinforcements from mainland Russia were arriving on a daily basis and by mid-September Tukhachevski managed to recreate most divisions lost in mid-August.
The Russian forces were to sweep southwards, retaking the Brest Fortress and Białystok, with the final objective being the city of Lublin.
On September 10, during a staff meeting with his generals, Piłsudski proposed a plan of a major operation near Neman and Shchara rivers.
Two Polish armies (2nd under Gen. Edward Rydz and 4th under Gen. Leonard Skierski) were to tie down main Russian forces by a frontal attack aimed at Grodno and Wołkowysk (modern Vaŭkavysk, Belarus).