the present invention discloses a dispensing container 1 comprising a main storage chamber 3 and a measuring - dispensing chamber 2 , a measuring dispenser . the storage chamber 3 is filled with the material 6 during the production or initial loading , after which the chamber 3 is sealed , with the exception of an aperture 4 that leads to the measuring dispenser 2 . the measuring dispenser 2 is also connected to the dispensing opening or spout 7 that leads outside the container 1 . the wall 8 of the measuring dispenser 2 can be transparent , in which case it can have metering marks that correspond a specific volume ( e . g ., teaspoon or cup marks ). the measuring dispenser 2 can have a lower portion 9 located below the aperture 4 , a measuring bunker . the measuring bunker 9 defines the minimum amount of material being dispensed in one dispensing cycle . the floor of the storage chamber 3 can be tilted and can have a chute , to facilitate sliding of the material 6 towards the aperture 4 . referring now to fig1 , in the upright ( rest ) position of the container 1 the level of the dry particulate material ( powder , flakes , tablets , capsules etc ) 6 in the dispenser 2 and the storage chamber 3 can be different , though they are connected by the aperture 4 , because of the inner fiction between the particles ( opposed to a liquid material ). as illustrated in fig2 and 3 , shaking or tapping of the container 1 in a properly tilted position allows increasing or decreasing of the amount of the material 6 inside the dispenser 2 , provided that the material particles are small enough vs the size of the aperture 4 . in some embodiments , the amount of the material inside the dispenser 2 can be visually controlled through the transparent wall 8 . referring now to fig4 , when the amount of the material in the measuring dispenser 2 is as needed , the consumer turns the container into the dispensing position , shown on the figure . in the dispensing position all the material 6 that was inside the dispenser 2 falls out through the dispensing opening or spout 7 , while the walls of the storage chamber 3 , including the upper wall 5 , retain the material 6 that was inside the storage chamber . the container may comprise a baffle 10 , to reduce the amount of material that can move from the storage chamber 3 into the dispenser 2 while the container is being tilted into the dispensing position . referring now to fig5 and 6 , if the material 6 consists of pieces of the same shape and size , like tablets , capsules , pills etc , called below pills , the shape of the aperture 4 and of the measuring bunker 9 can be made to accommodate the exact required number of the pills ( in both fig5 and 6 it is just one pill ). for this the aperture 4 is shaped to let through only one pill at a time , in a preferred orientation ; the bunker 9 is shaped to collect the pills in an organized way as they pass through the aperture 4 in the preferred orientation and the storage chamber floor 21 can be formed to create a chute that will facilitate sliding of the pills into the aperture 4 in the preferred orientation . fig5 and 6 show that the preferred orientation can be different for the pills of the same shape ; at the fig5 for the most common shape of the medical pills the preferred orientation is “ natural ” while at the fig6 the preferred orientation for the same shape pills is “ on edge ”. when the container 1 is in the rest position , the pills fall from the storage chamber 3 through the aperture 4 into the dispenser 2 , until the bunker 9 is full . the dispenser wall 8 has an inwardly directed bulge 12 , a stopper , located in front of the aperture 4 , so that the gap between the stopper 12 and the aperture 4 ( the opposite walls of the dispenser 2 ) is smaller than the size of the pill 13 in the corresponding direction and , at the same time , the space in front the stopper 12 of the dispenser 2 , including the aperture 4 space , is large enough to accommodate the pill . when the container is in the upright position , the topmost pill 13 in the bunker 9 partially plugs the aperture 4 , so that the pill 14 in the aperture cannot move into the dispenser 2 . in its turn , the pill 14 in the aperture and the stopper 12 partially plug the dispenser 2 , so that the pill 13 cannot move above the stopper 12 , even if the container is being shaken , if there is a pill in the aperture 4 . this asserts that the dispenser cannot be loaded with the pills above the stopper 12 . when the container 1 is tilted into the dispensing position , the pill 13 cannot move along the dispenser 2 until the pill 14 falls back into the storage 3 and releases the aperture 4 . after this the pill 13 dodges around the stopper 12 , using the space of the aperture 4 , and slides along the dispenser 2 and out of the dispensing opening 7 ( if the bunker 9 is made to accommodate more than one tables , they slide out too ). this asserts that no pills can slip through the aperture 4 when the container is being tilted into the dispensing position and no extra pills will be released . when the storage chamber 3 is filled with many layers of the pills , under the weight of the upper layers the pills near the storage floor / chute 21 tend to jam , which may need more shaking to re - orient them correctly to slip through the aperture 4 . a visor 11 can be provided above the aperture 4 , to release the pressure of the upper layers of the pills and facilitate sliding of the pills in the proper orientation towards the aperture . the visor 11 can be made of a flexible or pliable material and / or can be loosely attached to the container , so that the visor will have some movement under the weight of the pills when the container is tipped into the dispensing position and backwards . this asserts that no pills will stuck or jam between the visor 11 and the floor 21 . when the container 1 is made to dispense the predefined number of the pills , as shown at fig5 and 6 , there is no need to make the wall ( s ) of the dispenser 2 transparent , since the number of the dispensed pills is defined by the size of the bunker 9 . the container 1 can be supplied with an external lid 15 ( fig7 and 12 ), to close the dispensing opening 7 when the container is not in use . when the container is supplied with the lid 15 and is used to dispense the pills by number , if the container is tipped into the dispensing position with the lid 15 closed , the pill in the dispenser 2 will not be released out of the container , but will remain in the dispenser 2 . when the container is returned into the upright position , it may happen that a pill from the storage 3 will fall into the bunker 9 before the pill that was already in the dispenser 2 will fall into the bunker 9 . this way the dispenser 2 can be loaded with more pills than required , if the container is turned over with the lid 15 closed . the random turning over of the container may occur , e . g ., when the container is being carried in the consumer &# 39 ; s pocket . if the dispenser 2 is provided with the transparent wall , the consumer can visually control the number of the pills in the dispenser and , if it is more than needed , unload extra pills by shaking the container in the position shown at fig3 . however , it is preferable to have a version of the pill - dispensing container that does not require a visual control at all . it can be achieved if the aperture 4 is automatically closed or reduced when the lid 15 is closed . referring now to fig7 , the dispensing chamber 2 is separated from the storage chamber 3 by a movable wall 16 . the opposite sides 17 of the movable wall 16 have bulges , which elastically snap into corresponding grooves 18 in the container walls . in the vertical direction , the grooves 18 are longer than the matching parts of the movable wall 16 , which allows the wall 16 to move up and down vs the container 1 within some distance ; 16 denotes the up - most position of the wall , while 20 refers to its lowest position . the grooves 18 , as well as the opposite sides 17 , are not parallel , but slightly converge towards each other at the bottom of the container 1 . this forces the sides 17 to elastically bend in , when the wall 16 is pushed into its lower position 20 . when the wall 16 is not pushed down , the springback of the sides 17 forces wall 16 to move to its up - most position . the wall 16 has a part 19 , a stock , which sticks out of the opening 7 above the container wall 5 , when the wall 16 is above its lowest position 20 . when the lid 15 closes the container , it pushes the stock 19 and forces the wall 16 into its lowest position 20 ; while when the lid is removed , the springback forces wall 16 into its up - most position . the aperture 4 is formed as a gap between the movable wall 16 and the container floor 21 . when the lid 15 closes the container , the aperture 4 is closed or reduced , so that a pill cannot penetrate from the storage chamber 3 into the dispenser 2 , when the lid 15 is on , even if the container is inadvertently turned over . referring now to fig8 , the measuring dispenser 2 and the storage chamber 3 can be produced as standalone pieces . this may simplify and cheapen the production , e . g ., the dispenser 2 can be made of a transparent plastic while the storage made of a cheaper material . in some implementations , the dispenser 2 can be made for multiple uses with different storage chambers 3 . the standalone dispenser 2 can comprise the baffle 10 and the aperture 4 . the standalone dispenser 2 and storage 3 are assembled so that corresponding walls 24 will adhere to each other , while the lower part of the dispenser 2 will move inside the chamber 3 through a matching opening 22 . if the assembly of the parts 2 and 3 is done during the production , the walls 24 adhere permanently ( e . g ., glued together ). if the consumer does the assembly of the dispenser 2 and the storage 3 , during the production the opening 22 is ready - to - punch closed and the storage 3 is filled with the material . referring now to fig8 and 10 , the consumer punches the door 22 with the sharp edges 23 of the dispenser 2 ; the punched out piece of the door can be retained in the recess between the edges 23 and the baffle 10 . the consumer snaps matching grooves and bulges 24 on the dispenser 2 and storage 3 , so that they will by firmly joined , after which the container is ready to use . referring now to fig1 , the dispenser 2 can have a temper - proof valve 25 . in the dispensing position of the container 1 , the valve door will open , the opened door 27 , under the door &# 39 ; s weight and the weight of the material , and will allow free dispensing of the material from the dispenser 2 through the spout 7 . in the rest position of the container 1 , the valve door will close under its weight , the closed door 26 , so that no material can be added back into the container . the valve 25 can be designed without moving parts as a maze - shaped channel with a trap that will not allow loading the dispenser 2 with material through the spout 7 . the fig1 also illustrates that the measuring bunker can be positioned under the storage chamber floor 21 , to save space . in some embodiments , the size of the measuring bunker 9 can be adjustable , to dispense required number of the pills or modify the minimum volume of the dispensed material . an insert into the bunker ( a piston ) that can be moved into a desired position by the consumer can control the amount of the material in the bunker 9 . another way to change the size of the bunker is illustrated in fig1 . the container 1 can have a dial 28 that contains several bunkers 9 of different sizes , located under the floor 21 of the storage chamber 3 . only one of the bunkers 9 is connected at a time to the dispenser 2 . the consumer can set which one of the bunkers 9 is connected to the dispenser by rotating the dial 28 . the fig1 also illustrates that the container 1 can have a regular cap 15 , e . g . a child resistant cap , whereas after removing the cap 10 the main chamber 3 is remained closed by the upper wall 5 . while the invention has been described in connection with what is presently considered to be the most practical and preferred embodiments , it is to be understood that the invention is not to be limited to the disclosed embodiments but , on the contrary , is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims , which scope is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures as is permitted under the law .