The crowding agent induced phase transition of amphiphilic block copolymers in solution was explicitly considered. The influence of the size and the volume fraction of the crowding agent on the phase separation of ampbiphilic diblock copolymers is investigated by using self-consistent field theory (SCFT) method. The concentration of the disorder to order transition of the block copolymer decreases when the size of the crowding agent is larger than that of the solvent. The higher volume fraction of the crowding agent will induce the transition of the block copolymer from disorder to order state at a lower concentration. The relation between the size and the volume fraction of the crowding agent is elucidated. When the size of the crowding agent is larger, its volume fraction of the disorder to order transition of the block copolymer will be lower. The conformation of the crowding agent considered as a polymer chain is also studied and compared.